I have a script residing on a centralized share. The end user's PCs have a shortcut at startup that points to this script. Every time someone logs onto the computer it runs the script and maps the listed network printers. Intermittently they get an 8007007B error. It doesn't happen all the time and it no specific order, the error seems to be generating at random. The error happens on several computers with different users including people with admin rights on the domain. I've read allot of post and tried different solutions but they all generate a different error. All the systems that run script via shortcut are XP Pro machines. The script resides on a share on a Windows 2003 print server.
This is my script:
Set net = CreateObject("WScript.Network")
This is the error:
Error: the filename, directory name, or volume label syntax is incorrect.