Quizzes & Puzzles38 mins ago
printing a list of files from your computer hard drive
2 Answers
How do you print a list of files or documents from your computer's hard drive?
Answers
Best Answer
No best answer has yet been selected by viislandgirl. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.open a command prompt
type cd c:\
then
dir c:\windows /o>dir.txt
you'll find a file called dir.txt in c:\
if you want to do a directory and all subdirectories
dir c:\windows /o /s>dir.txt
(careful with this - do it in c:\ and you'll end up with a huge list)
to add each listing to the same dir.txt
dir c:\windows /o >>dir.txt
(if you use explorer you can copy/paste the path from the address bar into the command window with right click)
type cd c:\
then
dir c:\windows /o>dir.txt
you'll find a file called dir.txt in c:\
if you want to do a directory and all subdirectories
dir c:\windows /o /s>dir.txt
(careful with this - do it in c:\ and you'll end up with a huge list)
to add each listing to the same dir.txt
dir c:\windows /o >>dir.txt
(if you use explorer you can copy/paste the path from the address bar into the command window with right click)
Related Questions
Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.