Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Decision Stream v7.1-Process node to run DOS .cmd or .bat file?

Status
Not open for further replies.

dpesch1

Programmer
Jul 22, 2008
4
US
Hi!
Does anyone know how to (or the syntax to) run an existing .BAT or .CMD file from with Decision Stream ?
We have a process that run s a few part of Decision Stream, a couple of SQL commands, and a .bat (or .cmd) file, some more DS.
I am thinking there MUST be a way to "call" or execute the .bat file from a Process node, but so far, have not been successful in figuring out the correct coding.

Thanks.
 
Never mind - I finally found it in the Scripting documentation:
Keyword: System(argument) where argument is the full path name in SINGE QUOTES of the .bat file you want to execute:


Code:
System('E:\Decision_Stream_scripts\test_file.bat')
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top