Calling a Batch File Through VB Script
Created: 14 Apr 2008 | Updated: 15 Apr 2008
There would be some situations where we need to call Batch file from Scripts. Here the script to call INSTALL.bat
- Copy the below code to Notepad.
Function Tilak() dim shell set shell=createobject("wscript.shell") shell.run "INSTALL.bat" set shell=nothing End Function
- Save the file as .VBS
- Then use this VBscript in Wise Package Studio's CustomActions pane.