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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NT 4.0 AT command 1

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have two NT Servers (computer1 and computer2), I have mapped a drive on computer1 to computer2 (r:).


I am trying to schedule an xcopy of a directory in computer1 to another directory on computer2 via copying to the r: drive. I have the xcopy command in a batch file called "backall.bat", the command line is: xcopy c:\dir1 r:\dir1back. If I run this batch file in the command line, it works fine. When it's run via the AT command, I get an error "Invalid drive specification". Any ideas on what the problem could be? Thanks for any input you guys can give me.

Dave
 
Maybe you could use a url for the r: drive mapping?

eg \\servername\share.

HTH :)
 
Drive mappings are specific to a user profile. Something run through the AT command runs under the system itself. This means that AT jobs can only access local resources, nothing across the network. You need to go to Control Panel>Services and set the scheduler service to log in under an account that can access the network resources you need to see. The re-write your batrch file to use UNC paths. Jeff

If everything seems to be going well: you don't have enough information.......
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top