I've redirected My Documents folder to D:\MDocs
I then opened My Pictures and created the folder Security Photos
I wasn't aware that I couldn't do a dir on My Pictures and not have it pickup on \Security Photos until you brought it up.
At first the only way that I could get the information was to add \Security Photos to the command
I've temporarily moved My Documents back to C:\> and these are the dir results. Below is with a couple of switches thrown in. I can't get the folder to show up on D: drive even using the switches.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\>dir "C:\Documents and Settings\Rob\My Documents"
Volume in drive C is base
Volume Serial Number is C4F1-E191
Directory of C:\Documents and Settings\Rob\My Documents
18/11/2009 12:54 PM < DIR > .
18/11/2009 12:54 PM < DIR > ..
18/11/2009 12:54 PM < DIR > My Music
18/11/2009 12:59 PM < DIR > My Pictures
18/11/2009 12:54 PM < DIR > My Videos
0 File(s) 0 bytes
5 Dir(s) 11,677,163,520 bytes free
C:\>
C:\>dir /s /o /a /b "C:\Documents and Settings\Rob\My Documents"
C:\Documents and Settings\Rob\My Documents\My Music
C:\Documents and Settings\Rob\My Documents\My Pictures
C:\Documents and Settings\Rob\My Documents\My Videos
C:\Documents and Settings\Rob\My Documents\desktop.ini
C:\Documents and Settings\Rob\My Documents\My Music\Desktop.ini
C:\Documents and Settings\Rob\My Documents\My Music\Sample Music.lnk
C:\Documents and Settings\Rob\My Documents\My Pictures\Security Photos
C:\Documents and Settings\Rob\My Documents\My Pictures\Desktop.ini
C:\Documents and Settings\Rob\My Documents\My Pictures\Sample Pictures.lnk
C:\Documents and Settings\Rob\My Documents\My Pictures\Security Photos\test
C:\Documents and Settings\Rob\My Documents\My Pictures\Security Photos\New Text Document.txt
C:\Documents and Settings\Rob\My Documents\My Videos\Desktop.ini
C:\>
What are the contents of your batch that you are trying to run.
Edit: < dir > got me again