How do I create a list of files in a directory? I have seen it done before but cannot remember the command(s). Basicly what I need to do is make a .txt list of all the filnames in a directory but I do not want to manualy list them all.
Thx
Michael
Printable View
How do I create a list of files in a directory? I have seen it done before but cannot remember the command(s). Basicly what I need to do is make a .txt list of all the filnames in a directory but I do not want to manualy list them all.
Thx
Michael
dir > list.txt
I received
I forgot to mention that I am on a NT4 machine.Quote:
The name specified is not recognized as an internal or external command, operable program or batch file
Thanks
Michael
im on NT4 also. works fine here.
nevermind I am retarded ;) Works great. Thanks
Michael
f'eh..:p
your welcome
ok check it out I cannot navigate in dos for some reason (I am kinda embarassed to even post this).
I have tried:
cd d:\foldername
and
cd\d:\foldername
it just wont happen... what am I doing wrong?
Thanks
Michael
man you are spoiled by windows...you outta be ashamed... LOL :D
d:\
cd foldername
:D Like I said.. I was embarassed to post that. Funny how if you don't use something it just gets wipped from memory cos I used to use DOS all the time before 3.1 came out.
Thanks again,
Michael
I still use command prompts alot so thats probably the only reason I can actually remember that stuff.;)