WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: weissenb on September 25, 2013, 05:04:02 AM

Title: Run command
Post by: weissenb on September 25, 2013, 05:04:02 AM
Hi!

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

http://www.winsentmessenger.com/sent/help/

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
Title: Re: Run command
Post by: Deana 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) Select
Run( 'C:\Program Files (x86)\TOOLS\WinsentMessenger\winsent.exe', '"C.WEISSENBERGER" "Gentlemen, the meeting will begin at 13:00"')