PC Pals Forum
Technical Help & Discussion => Website Design & Programming => Topic started by: fizic on November 01, 2007, 14:48
-
It's years since I used Dos & have totally forgotten everything. :dunno:
I used to know a Dos code for listing files on my pc in text format so that it could be opened into a spreadsheet for editting. As I recall it listed all directories in a particular field and subs and roots.
I have a million files which need colating and I really don't want to have to create a list by hand. :cry:
I'd be really grateful is someone could help me out.
Cheers
fizic :crazy:
-
If you want to do it from within Windows, pick up a copy of DirPrin from:
http://www.karenware.com/
Stretching my memory a bit, but wasn't the DOS command dir C:\*.* /s >C:\temp\files.txt
which would list all files in all folders on drive C, copying the output to the file C:\temp\fliles.txt.
-
hmmm, i cant remember too much about dos - in linux it would be easy as writing ls > output.txt but I'm not sure about dos, i'll have a play when I get onto a windows machine... but maybe someone else does
-
Stretching my memory a bit, but wasn't the DOS command dir C:\*.* /s >C:\temp\files.txt
which would list all files in all folders on drive C, copying the output to the file C:\temp\fliles.txt.
sounds right to me...
-
Yes it was in windows and that piece of code seems to be familiar.
Thanks alot for the help & have a great weekend.
fizic