Page 1 of 1

BAT executing

Posted: Thu Jun 30, 2005 4:03 am
by snassimr
I want to execute BAT file within DS .I s there is any BASIC COmand for this ?

Posted: Thu Jun 30, 2005 4:15 am
by Sreenivasulu
All the DX servers i have worked are in UNIX(where BAT would not work). I am surprised to see a windows server.

Regards
Sreeni

Posted: Thu Jun 30, 2005 4:21 am
by snassimr
Its really help


I STILL NEED HELP

Posted: Thu Jun 30, 2005 4:23 am
by Sainath.Srinivasan
.bat files can be executed using ExecSH or ExecDOS or command stage.

Posted: Thu Jun 30, 2005 6:16 am
by chulett
In other words, use ExecDOS in the before or after job areas, or use DSExecute within a routine called from a Command Execution stage in a Sequencer job.

Posted: Thu Jun 30, 2005 6:43 pm
by ray.wurlod
Source code for the before/after subroutine ExecDOS is supplied; you can inspect it and use it as a basis to create your own.

When you call the DSExecute() function the first, shell, argument, must be "DOS" on a Windows platform in order to execute a DOS-level command or BAT file.