In DOS is there a command to perform a similar spool function in SQL or Script command in UNIX to create a log?
I want to print all command line output to a file but I don't want to use the echo command for each line.
I can do the following:
xx.cmd > xx.log
But, it would be nice to just click on the batch/cmd script and generate a log, so that I do not need to get into the command line.
Any help will be appreciated.