Thanks for the analysis, GUITARZAN. It's actually established that RunAs.vbs is able to execute Tester.vbs. The error CODE: "8007000F - The system cannot find the drive specified." returned refers to this line in Tester.vbs : objSHell.Run("""S:\Photos Folder\User ABC\Face Photos""").
Yes, using...
Let me try to be clearer and use the actual network paths for illustration purposes:
***Please note: Item 4 is important. It's been established 1000 times. Thank you.***
1. R: drive is mapped to network path [highlight #FCE94F]\\RAO_ARIA_DB\Custom Reports\[/highlight]
2. S: drive is mapped to...
Yes, drive S is mapped to the same location for all users running this script. All verified that they can access the S drive and the location in the S drive.
See attached for the error message.
1. Credentials all verified.
2. Mapped drive and drive letter all good.
3. Tester.vbs and RunAs.vbs are in the same folder. I actually tried "X:\MyFolder\Tester.vbs" and "\\ServerLocation\Folder123\Tester.vbs". Eventually it did work for when you put the...
Hi All,
Suppose I have a VBS file named Tester.vbs. Contents below:
Set objShell = CreateObject("Wscript.Shell")
objSHell.Run("""S:\Photos Folder\User ABC\Face Photos""")
This script runs fine and opens the folder.
Now, I want to open that specific folder (It's a network folder and the...
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.