PC Directory list

lol yep
in start, run type:

Code:
cmd /c dir /b c:\pathtolist\*.* >>C:\textfile.txt

or, if you want to include the subdirectories too!
Code:
cmd /c dir /b /s c:\pathtolist\*.* >>C:\textfile.txt

or you make a batch file:

open notepad and save the blank file as "list.bat" or whatever, makeing sure the extension is .bat tho.

in the file write:

Code:
@echo off
dir /b [I](add /s for subdirectories here!)[/I] c:\pathtolist\*.* >>C:\textfile.txt
cls
exit
 
rlees85 said:
no problem, im suprised you got that working, i edited the post about 50 times in the past 20 seconds ;)

I know DOS enough to understand bits, I had a 386 for a bit, had a 486 for a while after I destroyed my Cyrix!
 
Back
Top