Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
run command with > to logfile
#1
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?


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)