SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
jalscipt execute

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
jalscipt execute
Author Message
Martyn



Joined: 26 May 2004
Posts: 27

Post jalscipt execute Reply with quote

What is wrong with:

jalscript.execute "dim retval, number Run(""""e:\\temp\\hello.bat"""", """", retval)"

Wed Jan 04, 2006 5:00 pm View user's profile Send private message
Martyn



Joined: 26 May 2004
Posts: 27

Post Re: jalscipt execute Reply with quote

: What is wrong with: jalscript.execute "dim retval, number
: Run(""""e:\\temp\\hello.bat"""",
: """", retval)"

Never mind. I changed it to

jalscript.execute "dim retval, number" + VbCrLf + _

"Run(""e:\\temp\\hello.bat"", """", retval)"

WORKS FINE NOW!

Wed Jan 04, 2006 5:08 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7975

Post Re: jalscipt execute Reply with quote

Why not simple vb24x7.Run("e:\temp\hello.bat") call?

For details, please see "VBScript Extensions" topic.

: Never mind. I changed it to

: jalscript.execute "dim retval, number" + VbCrLf + _

: "Run(""e:\\temp\\hello.bat"",
: """", retval)"

: WORKS FINE NOW!

Wed Jan 04, 2006 6:11 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.