| |
battousai
Posts: 1
Score: 0
Joined: 3/13/2005
From:
Status: offline
|
hi, i'm trying to write a script to map a printer when a user logs on depending on a environment variable called location with a value of room1 - if ("%location%" = room1) then Set WshNetwork = WScript.CreateObject("WScript.Network") PrinterPath = "\\printsrv\room1printer" WshNetwork.AddWindowsPrinterConnection PrinterPath else end if - but this doesn't map any printers but doen't give me any error information to work with, any help would be great...
|
|