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
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
April 26, 2019, 12:26 PM
TexasStingray
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.