Question about 'Print Out a Directory Listing'
Friday, April 25, 2008 at 8:24 am Windows XP Annoyances Discussion Forum
Posted by TommyBoyz8
(1 messages posted)
I have a question about Print
Out a Directory Listing:
Actually, I have a better answer than using your printer.
You will use the same command, but not to the LPT port in order to get a nicely alpha-sorted
text file. This works best if you understand the most simple of DOS commands.
Go to Start>Run> and type COMMAND and hit the Enter key.
Using the CD command, change directories to the directory you want to create the
listing for.
Once in the DOS listing of that directory, type the following line to create your
neat little text file:
dir /s /on /b >Dir_List.txt
For "Dir_List.txt" you can use any name you want as long as it's 8 characters or
less. and you still have to use the .txt file extension.
For ease I created a batch file to automatically do this right from the windows directory.
If anyone thinks creating a directory listing list this is hard, let alone annoying,
they could have found the resources on the internet with a single google search,
and the answer is within the first three entries.
|
Responses to this message:
|
|