March 10th 1997 Mirror Sites ![]() Download the Software Network Card Drivers ![]() Features User's Guide Help ![]() Search Distribution Rights Listserv Shareware Links ![]() Order the Software Help Us Promote NetSoft LAN Dealer Enquires Welcome Home Page | http://www.netsoft.ie/ CHAPTER 3 The NET Command
NET Command Syntax Chart
You must include all punctuation (except braces, brackets and bars) such as periods, equal signs, forward slashes and backslashes, where illustrated in the syntax. NET DELAYThis command provides a general purpose delay. It is designed to be used from within batch files. One of the many uses of the command is to provide a delay after sending messages. Syntax: NET DELAY {number} The {number} parameter specifies the number of seconds to delay (from 1 through 1000 seconds). The following commands send a message to all users asking them to disconnect from the machine known as \\SERVER1 5 minutes before the backup starts, and again 1 minute before the backup starts. NET SEND * Please disconnect from \\SERVER1 Backup in 5 mins NET DELAY 240 NET SEND * Please disconnect from \\SERVER1 Backup in1 min NET DELAY 60 REM backup command goes here The delay 240 is 4 x 60 seconds = 4 minutes, and the delay 60 = 60 seconds = 1 minute. If a key is pressed during the delay period, the NET DELAY command is cancelled. [Chapter 4] [Chapter 2] [Table of Contents] [Home Page] | |||||||||||||||||||||||||||||
![]() | ![]() | ![]() |