/build/static/layout/Breadcrumb_cap_w.png

I want to run a exe through batch file and that exe needs a directory which is a different folder.Target OS is Windows Server 2003(Citrix). Please share the command. I have tried as follwoing:

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
  • Is the folder on the same letter ? Please post youre batchskript. - Johnzko 10 years ago
  • 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.?? - shaik.asifafzal 10 years ago

Answers (1)

Posted by: worzie 10 years ago
Fourth Degree Brown Belt
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

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
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