PaulCheeseman
Technical User
I am trying to open an explorer window at a shared print queue with vbscript, and keep getting an error that the queue is not accesable, or have no permissions.
If I type \\servername\PrintQueueName under start/run, it works.
I tried the method shown on this thread
thread329-1371839
If I remove the queue name, and just use \\server, I get a list of all shares, but the same failure for the actual queue I am after.
I do have full permissions on that server, and of course locally.
Any suggestions?
If I type \\servername\PrintQueueName under start/run, it works.
I tried the method shown on this thread
thread329-1371839
If I remove the queue name, and just use \\server, I get a list of all shares, but the same failure for the actual queue I am after.
Code:
Option Explicit
Const vbNormalFocus = 1
Const PathToOpen = "\\server"
Const Q = "\ReceptionReports"
WScript.CreateObject("WScript.Shell").Run _
"explorer.exe /n,/root,""" & PathToOpen & Q & """", vbNormalFocus
I do have full permissions on that server, and of course locally.
Any suggestions?