G
Guest
I am working with a batch file that was offered as a solution on a few
websites for the problem of getting a editable list of files within a
directory. The problem I am having is no matter which folder I select, I
keep getting a list of files in C:\Windows (the listing does appear in the
folder selected). Here is the program --
cd %1
dir /a /b /-p /o:GEN >"C:\Documents and Settings\All Users\Temp\filelist.txt"
copy "C:\Documents and Settings\All Users\Temp\filelist.txt" %1
del "C:\Documents and Settings\All Users\Temp\filelist.txt"
The batch file is in the windows directory.
If anyone can help me get this working right, that would be great!
Thanks!
websites for the problem of getting a editable list of files within a
directory. The problem I am having is no matter which folder I select, I
keep getting a list of files in C:\Windows (the listing does appear in the
folder selected). Here is the program --
cd %1
dir /a /b /-p /o:GEN >"C:\Documents and Settings\All Users\Temp\filelist.txt"
copy "C:\Documents and Settings\All Users\Temp\filelist.txt" %1
del "C:\Documents and Settings\All Users\Temp\filelist.txt"
The batch file is in the windows directory.
If anyone can help me get this working right, that would be great!
Thanks!