In
Paul Killington said:
does anyone know a link where i can learn how to use
the "AT" command in win 2000..??
help is much appreaciated
CMD prompt
C:\WINNT>at /?
The AT command schedules commands and programs to run on a computer at
a specified time and date. The Schedule service must be running to use
the AT command.
AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
[ /EVERY:date[,...] | /NEXT:date[,...]] "command"
\\computername Specifies a remote computer. Commands are scheduled
on the
local computer if this parameter is omitted.
id Is an identification number assigned to a scheduled
command.
/delete Cancels a scheduled command. If id is omitted, all
the
scheduled commands on the computer are canceled.
/yes Used with cancel all jobs command when no further
confirmation is desired.
time Specifies the time when command is to run.
/interactive Allows the job to interact with the desktop of the
user
who is logged on at the time the job runs.
/every:date[,...] Runs the command on each specified day(s) of the week
or
month. If date is omitted, the current day of the
month
is assumed.
/next:date[,...] Runs the specified command on the next occurrence of
the
day (for example, next Thursday). If date is
omitted, the
current day of the month is assumed.
"command" Is the Windows NT command, or batch program to be
run.
------------------------------------------------------------------------
-------------------------------------------
From the windows helpfile
At
Lists scheduled commands or schedules commands and programs to run on a
computer at a specified time and date. The Schedule service must be
running to use the at command.
at [\\computername] [[id] [/delete] | /delete [/yes]]
at [\\computername] time [/interactive] [/every:date[,...] |
/next:date[,...]] command
Parameters
none
Used without parameters, at lists scheduled commands.
\\computername
Specifies a remote computer. If this parameter is omitted, the commands
are scheduled on the local computer.
id
Specifie the identification number assigned to a scheduled command.
/delete
Cancels a scheduled command. If id is omitted, all the scheduled
commands on the computer are canceled.
/yes
Forces a yes answer to all queries from the system when deleting
scheduled events.
time
Specifies the time when the command is to run. Time is expressed as
hours:minutes in 24-hour notation (00:00 [midnight] through 23:59).
/interactive
Allows the job to interact with the desktop of the user who is logged on
at the time the job runs.
/every:date[,...]
Runs the command on every specified day or days of the week or month
(for example, every Thursday, or the third day of every month). Specify
date as one or more days of the week (M,T,W,Th,F,S,Su) or one or more
days of the month (using numbers 1 through 31). Separate multiple date
entries with commas. If date is omitted, the current day of the month is
assumed.
/next:date[,...]
Runs the specified command on the next occurrence of the day (for
example, next Thursday). Specify date as one or more days of the week
(M,T,W,Th,F,S,Su) or one or more days of the month (using numbers 1
through 31). Separate multiple date entries with commas. If date is
omitted, the current day of the month is assumed.
command
Specifies the Windows 2000 command, program (.exe or .com file), or
batch program (.bat or .cmd file) to be run. When the command requires a
path as an argument, use the absolute path, that is, the entire path
beginning with the drive letter. If the command is on a remote computer,
specify UNC notation for the server and share name, rather than a remote
drive letter. If the command is not an executable (.exe) file, you must
precede the command with cmd /c; for example:
cmd /c dir > c:\test.out