Source: www.net130.com Date: 2005-03-03
Parameters, the IFACEAddr represents the IP address assigned to the interface. To delete all items, use an asterisk (*) wildcard instead of inetaddr.
-S inetaddr etheraddr [ifceaddr]
Adding an IP address inetaddr to the static item of the physical address EtherAddr to the ARP cache. To add a static ARP cache item to the specified interface, use the ifAceAddr parameter, where the IFACEAddr represents the IP address assigned to the interface.
/?
Display help at the command prompt.
Comment
INETADDR and IFACEADDR's IP address is represented by a decimal number of decisions with a dot.
The physical address EtherAddr consists of six bytes, which are represented by hexadecimal notes and is separated by a linker (for example, 00-AA-00-4F-2A-9C).
The items added by the -s parameter belong to a static item, which will not timeout in the ARP cache. These items will be deleted if the TCP / IP protocol is terminated. To create a permanent static ARP cache item, use the appropriate ARP command in the batch file and run the batch file when starting through the Plan Task Program.
This command is only available when an internet protocol (TCP / IP) protocol is installed as components of the network adapter property in the network connection.
example
To display the ARP cache table for all interfaces, type:
ARP -A
For interfaces that the assigned IP address is 10.0.0.99, you want to display its ARP cache table, you can type:
ARP -A-N 10.0.0.99
To add a static ARP cache item parsing the IP address 10.0.0.80 into a physical address 00-AA-00-4F-2A-9C, you can type:
ARP -S 10.0.0.80 00-AA-00-4F-2A-9C
AT
Plans to run commands and programs on your computer at the specified time and date. The AT command can only be used when the "Plan" service is running. If you use it without a parameter, the AT lists the scheduled commands.
grammar
AT [// computename] [{[ID] [/ delete] | / delete [/ yes]}]
AT [[// computername] hours: minutes [/ interactive] [{/ every: date [, ...] | / next: Date [, ...]}] command]
parameter
// computername
Specify a remote computer. If this parameter is omitted, the AT schemes the commands and programs on the local computer.
Id
Specifies the identification code assigned to the planned command.
/ delete
Cancel the scheduled command. If the ID is omitted, all scheduled commands in the computer will be canceled.
/ YES
When you delete the scheduled event, you answer "Yes" for all inquiry from the system.
Hours: minutes
Specifies the time of the command to run. This time was used in a 24-hour hour (ie from 00:00 [midnight] to 23:59): minutes format.
/ interactive
For users logged in when running Command, the Command allows Command to interact with the user's desktop.
/ every:
Run the command command every week or monthly specified date (for example, every Thursday, or a month on the third day).
date
Specifies the date of the run command. You can specify a week or day (ie, type M, T, W, TH, F, S, SU) or a certain day or day in a month (ie, type numbers between 1 and 31) . Separate multiple date items with commas. If DATE is omitted, AT uses the current day of the month.
/ next:
Run Command when the next specified date (for example, next Thursday) comes. Command
Specifies the Windows command to run, program (.exe or .com file) or batch program (.bat or .cmd file). When the command requires the path as a parameter, use an absolute path, which is the entire path starting from the drive letter. If the command is on the remote computer, specify the general named Agreement (UNC) symbol of the server and shared name instead of the remote drive letter.
/?
Display help at the command prompt.
Comment
Schtasks is a more powerful super-collection command, which contains all the features in the AT command line tool. For all command line plan tasks, Schtasks can be used to replace AT. For more information on Schtasks, see "Related Topics".
Use AT
When using the AT command, you must be a member of the local administrators group.