1.

Solve : Dos Dir CMD to send info to a txt file??

Answer»

Running Win XP Pro.

I need to make a TEXT file containing a list of all files and DIRECTORIES on a DVD.

Run:  CMD
Change to drive E:
E:\>dir  /s /w /O:ND         This desplays the list of directories and files I need in the correct order.

What I now need to do is have it SAVE this list in a file on Drive C so I can email it. I've tried both cmds below and neither worked. What am I doing wrong?

E:\>dir  /s /w /O:ND> C:\myphotos.txt
E:\>dir> C:\myphotos.txt  /s /w /O:NDI finally figured out how to redirect the output of the DVD directories to a file.

Start/Run/ CMD
At the dos prompt dir E:\ /s /g /O:NG > C:\myphotos.txt



Discussion

No Comment Found