1. Home
  2. Computing & Technology
  3. PC Support

At

By , About.com Guide

What is the At Command?:

The at command is a Command Prompt command that can be used to schedule other commands and programs to run at specific dates and times.

At Command Syntax:

at [\\computername] time [/interactive] [/every:date[,...] | /next:date[,...]] "command"

\\computername = Specifies a remote computer name.

time = Specifies the time the "command" should be run.

/interactive = Allows the scheduled command to interact with the logged in user.

/every:date[,...] = Specifies the "command" to run on specific days of the week or month.

/next:date[,...] = Specifies the "command" to run on the next occurrence of the day.

"command" = This at command option specifies the command or program to run.

At Command Examples:
at 14:15 "chkdsk /f"

In the above example, the at command is used to schedule the running of the chkdsk command today only, at 2:15pm, on the currently used PC.

at \\prodserver 23:45 /every:1,4,8,12,16,20,24,28 "bkprtn.bat"

In this example, the at command is used to schedule the execution of the bkprtn.bat batch file on computer named prodserver at 11:45pm on the 1st, 4th, 8th, 12th, etc. day of each month.

at

Using the at command alone without switches will display a list of all currently scheduled commands on the currently used PC and the day and time they are to run.

At Command Availability:

The at command is available from within the Command Prompt in most Windows operating systems including Windows 7, Windows Vista, Windows XP, and some older versions of Windows as well.

Note: The availability of at command switches may differ somewhat from operating system to operating system.

At Related Commands:

The at command is often used with many other Command Prompt commands.

Explore PC Support
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. PC Support
  4. Command Line Reference
  5. At - At Command Details>

©2009 About.com, a part of The New York Times Company.

All rights reserved.