The AT command works differently under NT 4.0 than NT 3.51.

John Savill

January 8, 2000

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. A. To better support long file names the parsing algorithm was changed in NT 4.0 so that only the target file should be surrounded by quotes, for example

Under Windows NT 3.51
C:> at 20:00 "notepad d:documentsbondemaxfactor.txt"

Where as under Windows NT 4.0
C:> at 20:00 notepad "d:documentsbondemaxfactor.txt"

This causing a problem as if you surround the whole command in double quotes, for example a batch file, it will not run correctly.

Support for a registry key has been improved in Windows NT 4.0 Service Pack 4 which allows you to force the parse of the AT command to behavior in the same manner as 3.51 and to achieve this perform the following:

  1. Start the registry editor (regedit.exe)

  2. Move to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSchedule

  3. From the Edit menu select New - Key and enter a name of Parameters and press enter

  4. Move to this new Parameters Key and from the Edit menu select New - DWORD value. Enter a name of UseOldParsing and press enter

  5. Double click on the new value and set to 1

  6. Reboot the machine

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like