COPY Command Does Not Execute from the AT Command

Last reviewed: November 6, 1997
Article ID: Q119919
3.50 WINDOWS kbtool

The information in this article applies to:

  • Microsoft Windows NT Workstation versions 3.5, 3.51, and 4.0
  • Microsoft Windows NT Server versions 3.5, 3.51, and 4.0

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.

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 reference words: prodnt 3.50 DOS scheduler err msg
KBCategory: kbtool
KBSubCategory: ntutil


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 6, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.