cd "PATH OF DIRECTORY"

PATH OF EXE with arguements. But this command is not working.

Application is a vendor MSI and when we try to launch the exe manually in cmd also it does not work,

The main problem is with the working directory and i have to create that in the batch file. Pleae help me soon.

2 Comments   [ + ] Show Comments

Comments

  • Is the folder on the same letter ? Please post youre batchskript.
  • I found the issue batch file should be run from the working directory. And one more question is How to suppress cmd window when running the batch file with in the bat file itself.??
Please log in to comment

Answers

0

To answer your second question, I have had luck with this vbs code in a separate vbs file:

CreateObject("Wscript.Shell").Run "JRE-MSI-Uninstaller.bat",0,True

So uploading the batch file in this case is also required instead of using the dynamic K1000 batch creator because you need to update the vbs file with the name of the bat file.

Then I run this vbs by launching a program wscript JRE-MSI-Uninstaller.VBS

Answered 12/03/2013 by: worzie
Second Degree Green Belt

Please log in to comment
Answer this question or Comment on this question for clarity