/build/static/layout/Breadcrumb_cap_w.png

Run instalation from Current directory

Hi all,

I am running a vbscript from a network share, the script installs a few setup files.

For this to work I need to tell the script to run the setup.exe from the current directory not the network share. The script copies the files to the workstation then needs to run the setup from there, not the network share.

I am using FileSystemObject.

0 Comments   [ + ] Show comments

Answers (1)

Posted by: Thegunner 13 years ago
Second Degree Green Belt
0
Sorted

Using Wscript.shell

oshell.currentdirectory = "<path>"
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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