The AT command works differently under NT 4.0 than NT 3.51.
January 8, 2000
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:
Start the registry editor (regedit.exe)
Move to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSchedule
From the Edit menu select New - Key and enter a name of Parameters and press enter
Move to this new Parameters Key and from the Edit menu select New - DWORD value. Enter a name of UseOldParsing and press enter
Double click on the new value and set to 1
Reboot the machine
About the Author
You May Also Like