cancel
Showing results for 
Search instead for 
Did you mean: 

regarding the vbo to run the .bat file

sumitsharma1
Level 3
Is there any VBO available to execute the .bat file which is available in my descktop
4 REPLIES 4

AnuragSingh2
Level 2
You can use the Start Process action under the Environment Utility and in the argument input pass the path of your script, it should work.

It just seems to open the script and does not run it.  There is also a Command Prompt::Run BAT. File VBO but that just gives the following error:

Internal : Failed to perform step 1 in Navigate Stage 'Enter Data' on page 'Run BAT. File' - Not Connected



------------------------------
Jeremy Dean
------------------------------

Hi Jeremy,

To run a BAT file I use the Run Process Until Ended action in the Utility - Environment VBO.

27873.jpg
In the above screenshot the input in the Application Field is a data item containing the full path of the BAT file - e.g. \\fileshare\batch\somebat.bat
Hope this helps,
Ian


------------------------------
Ian Mawson
------------------------------

I found the trick to be that you can't step through a .BAT process in debug mode.  I need to click on the Go button and just let it run.

It also uses global send keys to write the path, so special characters need to be replaced with their respective codes.



------------------------------
Jeremy Dean
------------------------------