View Single Post
  #4 (permalink)  
Old 04-14-2008, 06:30 AM
czechboy
Newsgroup Contributor
 
Posts: n/a
Re: calling cmd.exe file with arguments

Thank you for your answer. I want to call a program from jscript by
oShell.Run(command, 0, true) The problem I have now is that if the
following

"C:\Program Files\FindAndRunRobot\Plugins\TodoTXT\dist\todo.ex e" a
test > "C:\Program Files\FindAndRunRobot\Plugins\TodoTXT\temp.tmp"

is my "command" variable then it treats ">" as another parameter for
todo.exe, but I want to output the result into the temp.tmp file.

The same is with:

"C:\Program Files\FindAndRunRobot\Plugins\TodoTXT\dist\todo.ex e" "a"
"test" > "C:\Program Files\FindAndRunRobot\Plugins\TodoTXT\temp.tmp"

If I try

"C:\Program Files\FindAndRunRobot\Plugins\TodoTXT\dist\todo.ex e" "a
test" > "C:\Program Files\FindAndRunRobot\Plugins\TodoTXT\temp.tmp"

todo.exe treats it badly...
Reply With Quote

 
Old 04-14-2008, 06:30 AM