So I'm thinking at this point that I might try to setup the paths as registry entries and have the script go and grab the registry keys so it knows where to look for the INI file and where to place the lock file.
Okay, so I tried a simple script to echo the path from the original VBS script and the compiled EXE file. The original VBS script returns the corret path to the script, while the complied EXE returns back the user's Temp directory under their profile.
Hmmm...
Okay, so I will admit that I'm a VBScript newb at this point. I've written a wrapper script to run another program for me and to create a lock file while that program is running to prevent other users from accessing the program at the same time.
I've compiled the VBScript into an EXE and it...
Thanks all for the responses, sorry it took me a while to get back to you all, I was buried in some other work.
Marty, your solution worked great! Now I can keep multiple people out of the administration console.
Sweet...
Thanks all!
Regards,
Jason
I'm a newb when it comes to VBScripting, so please excuse my ignorance. I'm trying to write a wrapper script for the Symantec NetBackup Administration Console to prevent two or more people from opening it at the same time. I plan to have it check for and create a lock file. What I want it to do...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.