Forum Discussion
gkainz
Sep 17, 2018Explorer
With the DOS command window, there's nothing risky to worry about... ok, check that... there's ALWAYS something to worry about! But, if you stick to the DIR command ... THEN there's nothing to worry about! (You can type HELP to see all the DOS commands, or HELP DIR to see more specifics about that).
All you're doing is invoking the old DOS (which still lives under windows since WAY back when and earlier, before Windows) command to execute a Directory Listing (DIR), throwing a few switches or arguments at it to make it display different things, and then directing the output to a text file.
Then, open the text file with any editor of your choice - Word, Excel, WordPad, Notepad, vi, emacs, edlin, EVE/TPU :D and do whatever you want to do with the content... sort, edit, print, load it into a database ... anything!
And, you can do it over and over and over until you get what you want ... just note that repeated runs may give you replicate information in your text file, so rename it or delete it before the next test run.
All you're doing is invoking the old DOS (which still lives under windows since WAY back when and earlier, before Windows) command to execute a Directory Listing (DIR), throwing a few switches or arguments at it to make it display different things, and then directing the output to a text file.
Then, open the text file with any editor of your choice - Word, Excel, WordPad, Notepad, vi, emacs, edlin, EVE/TPU :D and do whatever you want to do with the content... sort, edit, print, load it into a database ... anything!
And, you can do it over and over and over until you get what you want ... just note that repeated runs may give you replicate information in your text file, so rename it or delete it before the next test run.
About RV Must Haves
Have a product you cannot live without? Share it with the community!8,793 PostsLatest Activity: Feb 08, 2025