Discussion Locked

AT Command on a network

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'm trying to get the AT command under NT to copy a file from a PC to an NT server for backup purposes but it seems that AT does not like doing anything on a network!

Does anyone know how to work around this or if there is another command I can use?

Thanks.

--
Gary Williams

7 replies

by frank.peeters

Gary,

Most likely your AT service does not have permissions to read and/or write the files.
The AT service by default runs with the credentials of the local system account. Scheduled tasks use the same credentials.

To solve your problem, create a domain account and assign permissions both at the source and destination hosts. Then change the scheduler's credentials in control panel; services; select schedule service; startup; and instead of the system account, specify in This Account: the'service' account you just created. Make sure you explicitly mention the domain account as domain\username.

by james.pounds

Your Schedule service must be running on the PC.

The AT command can only execute *.cmd routines. You must save your copy command in a file named "something.cmd" and copy the .cmd file to the PC. From anywhere on the network you can schedule theexecution of the .cmd routine by using the syntax;
AT \\PCname time "C:\path\something.cmd"

remember to use double quotes to enclose the name of the .cmd or the command will not execute.

by burcjo

You might also try installing the NT Resource kit which includes the WinAT program. It still uses the scheduler and requires the same permissions as AT but is easier to use across multiple machines.

Good Luck !

This discussion is closed to new replies.