Microsoft KB Archive/119919

= COPY Command Does Not Execute from the AT Command =

Article ID: 119919

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Workstation 3.5
 * Microsoft Windows NT Workstation 3.51
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Server 3.5
 * Microsoft Windows NT Server 3.51
 * Microsoft Windows NT Server 4.0 Standard Edition

-



This article was previously published under Q119919



3.50

WINDOWS

kbtool



SYMPTOMS
When you start the Schedule service and then enter an AT command to instruct the COPY command to run at a specified time, the COPY command does not run at the specified time and the following message appears in Event Log:

  Event ID: 7901 Source: Schedule Type: Error Category: none

The system cannot find the file specified.

NOTE: These symptoms occur when you attempt to use any internal command with an AT command.



WORKAROUND
To run any internal command from the AT command use "CMD /C" syntax. For example:

  AT 10:00 CMD /C COPY C:\*.* C:\TEMP

Under Windows NT version 3.1, the "CMD / C" switch was not necessary. However, this functionality has changed for Windows NT version 3.5 to correct problems with passing arguments to commands.

NOTE: XCOPY, CHKDSK, do not require the "CMD /C" command because they are not internal commands.

Additional query words: prodnt DOS scheduler err msg

Keywords: KB119919

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.