richardjones1025
asked on
batch file to add printer and delete printer
i need to write a batch that will add a shared printer on boot up and then delete that same printer on shutdown. This will go on a vista client...any idea?
ASKER
C:\Documents and Settings\Richard Jones>net use \\ga1\Canon6 /delete
The network connection could not be found.
More help is available by typing NET HELPMSG 2250.
The network connection could not be found.
More help is available by typing NET HELPMSG 2250.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
both solutions work
in login script
net use \\printservername\printern
in logoff script
net use \\printservername\printern