How to run a batch file using wise script editor in detail?
I have tried with the execute a program in wise script editor but it didn't worked. Please can anyone tell me.
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
jdornan
11 years ago
In WiseScript Editor:
- select Execute Program
- in '.EXE Path', enter: %SYS32%\CMD.EXE
- in 'Command line', enter: /C <full path to BAT file>
where '<full path to BAT file>' is, er, the full path to and the name of the batch file you want to call
- check the check-box 'Wait for Program to Exit'.
- click OK
- save the WSE
- compile it
- run the resulting EXE