Discussion Locked

Redirect to text file

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I would like ro redirect output from commands like map and listsrc to a text file. I am working in Recovery Console. When I issued these commands the output was dispalyed on the screen. I tried MAPS > MAPSINFO.TXT and it disn't work.

4 replies

by mfischer

Add the path to the command. IE dir *.exe /w >c:\My Documents\dir.txt

If that fails, then check the permissions on the directory you are saving to.

by kcav

Thank you for your reply. I tried DIR *.exe > test.txt from the Command Prompt and it created the test file. Then I booted from my floppy installation disks; went to the Recovery Console, and tried DIR *.EXE > TEST.TXT. It said, " The parameter is not valid."

Then I used the Set command to enable wildcards, and tried again. Same result. "The parameter is not vaild."

by johngreer

Try DIR *.EXE 1>TEST1.TXT 2>TEST2.TXT

If memory serves me, 1> is Application Output
and >2 is System Output / Error Messages.

by kcav

Booted to Recovery Console entered dir *.exe 1 > test1.txt 2 > testt2.txt still get the same error message "Invalid parameter."

This discussion is closed to new replies.