You can also use the AT command to schedule tasks. By default, the AT command is run using the LocalSystem account, which requires administrative privileges. To specify another account as the user of the AT command, follow these steps:
The command structure for the AT command is as follows:
AT [\\computername] [id] [[/delete]|/delete [/yes]]
AT [\\computername] time [/interactive] [/every:date[,...] |
The following parameters can be used with the AT command. Used without parameters, the AT command returns a list of scheduled commands.
Here are some important facts to keep in mind about the AT command:
You can switch back and forth between the AT command and Task Scheduler, although there are some limitations. For example, if you schedule a task using AT and later modify that same task using Task Scheduler, the task is then "owned" by Task Scheduler and you can no longer access it using AT.
Autocompletion on the Command Line
The command line may be moribund, but it's far from dead. Windows 2000 includes a number of improvements in command-line functions, such as file and folder autocompletion. To turn this feature on, open a command-line window and type cmd /f:on. Now you can avoid typing long file or folder names at the command line. For example, to navigate into the Program Files folder from the root of the system drive (typically C), you'd type c:\cd p and then press Ctrl+D. The command expands immediately to c:\cd "Program Files". Press Enter to invoke that path.
For the true command-line junkie, you can change Ctrl+D to the Tab key (far easier to remember than Ctrl+D) by changing the CompletionChar (REG_DWORD) to a value of 9 in HKEY_CURRENT_USER\Software\Microsoft\Command Processor. When toggling through several possible choices, the Tab key is easier to use.
Autocompletion also works with files. Let's say you're in C:\Program Files\Windows Media Player and you would like to execute Mplayer.exe. At the command line, type mp and then press Ctrl+F. The path expands to include Mplayer.exe. Press Enter to actually execute the file.
Another command-line feature re-creates the functions of DOSKEY. Press the up and down arrows on the keyboard to navigate through recently used commands. Press F7 for a GUI-based display of recently used commands from which you can choose, also using the up and down arrows. Press Enter when you've arrived at the command you want to reuse.
For complete documentation on the command prompt, open a command window and type help cmd.