/build/static/layout/Breadcrumb_cap_w.png

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)

Posted by: jdornan 11 years ago
Red Belt
1

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

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ