I want to run a batch file from within a FEX. What command do I use.This message has been edited. Last edited by: FP Mod Chuck,
Windows, All Outputs
You could use DOS or SYSTEM command.
WebFOCUS 8206, Unix, Windows
I would recommend using the SYSTEM function as Babak suggests.
The advantage is that, because you get a return code from the command in the variable, the whole process will wait until the command has completed.
Using just a DOS (or other op system) command does not cause processing to wait.
A question to take to the Expert centre at Summit!! You'll get great support and some examples as well
On our system we do not allow the execution of operating system level commands, as it is a huge security risk. We look for alternative methods to accomplish the task, even creating a java program that could call the specific bat file.
|Powered by Social Strata|