Author Topic: Run command  (Read 3206 times)


  • Newbie
  • *
  • Posts: 14
Run command
« on: September 25, 2013, 05:04:02 am »

It may be so simple, but trying to start this command line programm I had problems

The winbatch file :
Run( "C:\Program Files (x86)\TOOLS\WinsentMessenger\winsent.exe", "'C.WEISSENBERGER' 'Gentlemen, the meeting will begin at 13:00'")

did not not work (and all permutations, too ;-).
But I know the solutions is easy :-)

Many thank, Christian


  • Wilson WindowWare Tech Support
  • Pundit
  • *****
  • Posts: 1183
  • WinBatch® can do it.
    • WinBatch Tech Support Database
Re: Run command
« Reply #1 on: September 25, 2013, 07:37:40 am »
I believe double quotes are required for command line parameters. Notice the use of single and double quotes in this line:

Code: Winbatch
Run( 'C:\Program Files (x86)\TOOLS\WinsentMessenger\winsent.exe', '"C.WEISSENBERGER" "Gentlemen, the meeting will begin at 13:00"')
Deana F.
Technical Support
Wilson WindowWare Inc.