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

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:\documents\bonde\maxfactor.txt"

Where as under Windows NT 4.0
C:\> at 20:00 notepad "d:\documents\bonde\maxfactor.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_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule
  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

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish