Will that work on all platforms
I know that it works on Windows, Linux and Unix :P
for example
WIndows.C:> dir >>output.txt
Would put all the output of the Dir command In Output.txt
Yes, but remember that >>
is different from >
: >>
appends to the file (if it exists, otherwise it's just creating the file and writing the output of the dir
command to it)
For further info on this: http://commandwindows.com/command1.htm