Saved Bookmarks
| 1. |
Solve : [SOLVED] redirecting output? |
|
Answer» oh, that's nice ooops No, my bad, I forgot I had edited it twice (I can't remember what I wrote first!)I think the answer is, that you know where the echo command ends but cmd.exe does not ECHO hiya >doesnotexist\notextfile.txt 2>error.txt it THINKS this is the filename to echo hiya into: doesnotexist\notextfile.txt 2>error.txt But this way it KNOWS (ECHO hiya >doesnotexist\notextfile.txt) 2>error.txt ahhh yes. The assumption "what I know, it knows". I FALL quite a few times in that. |
|