Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enabling printer shares in batch file

Status
Not open for further replies.

gcw1

Programmer
Jan 12, 2002
204
CA
Hello,
not sure if this is the right place to ask this question, if not can you redirect me?
I'm using "at" command to schedule the running of a batch file.
When using the "at" command i found out that when it runs it's not the Administrator user, but a system user. I was able to map and unmap needed network drives, but i'm having problems with printing.

Here is the command i'm using.

net use \\server\print_share password /user:domain\username

It say's that the command completed successfully, but nothing prints. Am I missing something? I'm running the scheduled batch on our file server and the print share is on our print server, both are NT 4.0

Thanks

Glenn
 
Yes I did... something would of printed if i just double clicked on the batch file, but not when i schedule it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top