General discussion

Locked

Printing from Windows Explorer

By bunjee49 ·
What is the command line used to print from Windows Explorer? I thought it was: dir c(the name I wanted to name the file) & then I just hit "enter" on the keyboard. I would then open MS Word & look in Drive "c" for the file I named it.

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Printing from Windows Explorer

by VinnyD In reply to Printing from Windows Exp ...

Your talking about doing a directory listing from the command prompt.

The command line you are looking for is:

dir c > name_of_file

The > is a redirect of the standard output. It directs all output from the DIR command to go into the fileyou want.

Then you can open the file in Word.

A tip! Use name_of_file.DOC that is the default file listing for Word, it just makes the file easier to find.

Also the file will be in the default directory you run the command from unless you specify a full path for the file name.

Collapse -

Printing from Windows Explorer

by bunjee49 In reply to Printing from Windows Exp ...

I am trying to print a list from a cd-r - all MP3's. The answer I received did not work. I am typing: dir c>mp3project.doc from my cd-rom drive & can't get it to work. I get "file creation error" or "bad command or file name.".....dir(space)c>mp3project.doc does not get me any results. What am I doing wrong?

Collapse -

Printing from Windows Explorer

by GIJoe In reply to Printing from Windows Exp ...

From the directory with all the files, you should type:

dir *.* > c:\filename.txt

Collapse -

Printing from Windows Explorer

by GIJoe In reply to Printing from Windows Exp ...

Answer above assumes you are talking about doing this at the dos prompt.

Collapse -

Printing from Windows Explorer

by bunjee49 In reply to Printing from Windows Exp ...

Poster rated this answer

Collapse -

Printing from Windows Explorer

by bunjee49 In reply to Printing from Windows Exp ...

This question was closed by the author

Back to Windows Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums