Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use at Command under dos

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly explains "how to use the at command under dos". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to use the at command under dos.

At

Lists scheduled commands or scheduled commands and programs that run on the computer at the 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

If used with no parameters, at lists the scheduled commands.

[url= file://\\computername]\\computername[/url]

Specify the remote computer. If you omit this parameter, the command is scheduled on the local computer.

Id

Specifies the identifier assigned to the scheduled command.

/ delete

Cancel the scheduled command. If id is omitted, all scheduled commands on the computer will be canceled.

/ yes

When you delete a scheduled event, force an affirmative answer to the system's query.

Time

Specifies the time to run the command. Time is expressed as hours: minutes in the form of a 24-hour mark (00:00 [midnight] to 23:59).

/ interactive

Allows the job to interact with the desktop of the logged-in user while the job is running.

/ every:date [,...]

Run the command on a specified day of each week or month (for example, every Thursday, or the third day of each month). Specify the date as one or more days of the week (Mrecine T, W, H, or, or the day or days of the month (using numbers 1 to 31). Separate multiple date entries with commas. If date is omitted, it is assumed to be the current date of the month.

/ next:date [,...]

When the next day repeats itself (for example, next Thursday), run the specified command to specify the date as one or more days of the week (MMagre Tschew, Wrech, Thlast, Fregor, Su), or one or more days of the month (using numbers from 1 to 31). Separate multiple date entries with commas. If date is omitted, it is assumed to be the current date of the month.

Command

Specify the Windows 2000 command, program (.exe or .com file) or batch program (.bat or .cmd file) to run. When the command requires a path as an argument, use the absolute path, that is, the entire path starting from the drive letter. If the command is on a remote computer, specify the UNC symbol for the server and share name, not the 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

At this point, I believe you have a deeper understanding of "how to use the at command under dos". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report