Page 1 of 1 1
Topic Options
#119793 - 2004-05-19 03:53 AM unning a program in KIXTART
normandbr Offline
Fresh Scripter

Registered: 2004-05-17
Posts: 19
Loc: Montreal, canada
I am trying to run a .exe from kixtart, this exe follow by many switch is sending an email, I use the following command
run "program.exe -sn switch1 -rt switch2 -qw switch3"
from dos it works fine,but from a script in kixtart, I got an error. Any idee someone. Thanks

Top
#119794 - 2004-05-19 03:58 AM Re: unning a program in KIXTART
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Guess that would depend on the program, the switches, and the error! Wazzup with the secrets? How are we to help if you won't even tell us the error?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#119795 - 2004-05-19 04:06 AM Re: unning a program in KIXTART
normandbr Offline
Fresh Scripter

Registered: 2004-05-17
Posts: 19
Loc: Montreal, canada
The program is custom, done in house in the company.
The name is smtp.exe, this will not tell you nothing more.
I tought, they is maybe a special way to run an exe. The error is, can not send the email.

Top
#119796 - 2004-05-19 04:16 AM Re: unning a program in KIXTART
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Well, if it is an inhouse job you are probably on your own. You may want to talk to the author about requirements. Have you had a look at our FAQ regarding SHELL and RUN? You might try to include %comspec%.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#119797 - 2004-05-19 04:32 AM Re: unning a program in KIXTART
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
I assume that maybe one of your "switches" takes an email address ? If so, make sure you double-up on your @ signs when running the program from inside the script, like:

myprog -a shawn@@kixtart.org

-Shawn

Top
#119798 - 2004-05-19 04:44 AM Re: unning a program in KIXTART
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Damn you Carnac! When are you going to release that MRM to the public?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#119799 - 2004-05-19 06:02 AM Re: unning a program in KIXTART
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
lol, just stabbing in the dark
Top
#119800 - 2004-05-21 02:43 AM Re: unning a program in KIXTART
normandbr Offline
Fresh Scripter

Registered: 2004-05-17
Posts: 19
Loc: Montreal, canada
Shawn,

Thanks, you got it right.

Thanks again, I did really appreciate

Top
#119801 - 2004-05-21 04:52 AM Re: unning a program in KIXTART
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
See now, if you had provided example code you may have gotten the answer without relying on Shawn's clairevoyance.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#119802 - 2004-05-21 04:58 AM Re: unning a program in KIXTART
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
May a diseased yak drop his cud in your hooped skirt.


Top
#119803 - 2004-05-21 08:15 AM Re: unning a program in KIXTART
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
may the fleas of a 1000 camels nest in your armpit - Klinger
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.108 seconds in which 0.071 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org