Jump to content
Macro Express Forums

smifffy

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by smifffy

  1. Macro Express is unable to redirect ( > ) or pipe ( | ) output to stdout. To accomplish this you can create a batch (.bat) file and call it from the macro.

     

    You batch file should look like this:

    C:\Program Files\SyncToy 2.0\SyncToyCmd.exe -R > C:\logfile.log

     

    and your macro like this:

    post-8-1246039123_thumb.jpg

     

    Genius. Thanks :)

  2. Hi all,

     

    First time poster, so go easy :)

     

    I'm trying to get the program parameters option to work. My objective is to output the result of dos window to a file.

     

    So in DOS this is what I'd do:

     

    C:\Program Files\SyncToy 2.0\SyncToyCmd.exe -R > C:\logfile.log

     

    and so in Macro Express I assumed that I'd use the program parameters option and put -R C:\logfile.log in there. Something like this:

     

    me3.jpg

     

    But it doesn't work? As soon as I put a space in the program parameters field it fails. I also can't see why it fails because the DOS window closes immediately on fail.

     

    Any help much appreciated.

×
×
  • Create New...