06-06-2003, 02:52 PM
I have a little command file that I would like to convert to a macro, the part of the command file that I'm having trouble with looks like this:
C:\Program Files\tivoli\tsm\baclient\dsmc.exe i > d:\data\logfile.log
I would expect the macro to be:
run "dsmc.exe" "i > d:\data\logfile.log" "" "C:\Program Files\tivoli\tsm\baclient"
Of course the '> d:\data\logfile.log' are not actually parameters for dsmc.exe so it doesn't work. How can I route the output of my execution to a logfile?
C:\Program Files\tivoli\tsm\baclient\dsmc.exe i > d:\data\logfile.log
I would expect the macro to be:
run "dsmc.exe" "i > d:\data\logfile.log" "" "C:\Program Files\tivoli\tsm\baclient"
Of course the '> d:\data\logfile.log' are not actually parameters for dsmc.exe so it doesn't work. How can I route the output of my execution to a logfile?