. (1/18 ). , , 6, .
Enable/Disable Help Line.
/ , .
Exit Control.
. .
.
.
7.6.1.
NET.
NET -
"NET" - "/", :
NET /NOERROR SHOW - NOERROR - , SHOW - .
/MONO NET . /NOERROR . /SCREEN_SAVER "" . / .
NET command arguments,
:
NET SEND * " 5 ".
NET - , SEND - , : * " 5 " - .
ATTACH
. , , . , . . (, A: B: C: D:, E: F:, . .)
:
NET ATTACH </VERBOSE> \\server,
server , .
:
NET ATTACH /VERBOSE \\DMITRIY
DMITRIY, .
AUDIT???
CHANGEPW
. , - , , . , , . . , .
:
NET CHANGEPW \\server old-pw new-pw,
server , .
old-pw , .
new-pw .
:
NET CHANGEPW \\SRV secret hidden
SRV "secret" "hidden".
, - , :
NET CHANGEPW \\SRV ^"Old:" ^"New:"
, .
CHAT
. , NET , Chat with Another User, . . NET CHAT ( , NET).
CLOCK
.
:
NET CLOCK \\server,
server , .
COPY
, . , . , NET COPY , .
:
NET COPY from-path to-path
from-path , , .
to-path , , .
:
NET COPY \\ANDRE\C-DRIVE\*.TXT \\ANDRE\D-DRIVE
.TXT C-DRIVE ANDRE D-DRIVE.
DETACH
, NET UNUSE.
:
NET DETACH \\server,
server , .
DIR
, . , DOS' DIR .
:
NET DIR </ALL> <pathname>
/ALL . "/A"
pathname .
:
NET DIR
NET DIR C:\LOTUS
NET DIR \\SRV\C-DRIVE\WP\TEXTS
:
_ _
:
I
A
D
V
S
H
R
SIZE
DATE
TIME
DISABLEA
. . , , , - . , .
:
NET DISABLEA \\server password,
server , .
password .
:
NET DISABLEA \\NODE386 vasja
, , ( , ) :
NET DISABLEA \\NODE386 ^"password:".
, , .
ECHO
DOS' "echo", .
:
NET ECHO <string>,
string , .
:
NET ECHO "Strat of batch file"
NET ECHO !"Time"
, . , , Time. "!" .
EXPAND
. , NET EXPAND . ? , - , , , - NET.
:
NET EXPAND </PHYSICAL/RECURSE> filename,
/PHYSICAL . /P
/RECURSE . /R
filename , .
:
IND2.TXT SRV, C-DRIVE, \INFO, \TEXTS.
NET EXPAND IND2.TXT
:
\\SRV\C-DRIVE\INFO\TEXTS\IND2.TXT
, .
EXPAND IND2.TXT, :
NET EXPAND /R IND2.TXT
:
\\SRV\C-DRIVE\IND2.TXT
. . .
NET EXPAND IND2.TXT
:
C:\INFO\TEXTS\IND2.TXT
- , IND2.TXT.
FLUSH
"" . , , . SERVER. , NET FLUSH. "S" ( ). .
:
NET FLUSH \\server,
server , "".
:
NET FLUSH \\SRV74
INDIRECT???
, , . , . , .
:
NET INDIRECT pathname actual-name,
pathname , . .
actual-name .
:
NET INDIRECT AUTO.BAT \\C-DRIVE\AUTOEXEC.BAT
LOGIN
.
:
NET LOGIN </WAIT/DEFERRED> \\server <user> <pw> (adapter#),
/WAIT , , . /W
/DEFERRED LOGIN' , LOGIN, , .
server , .
user , . , .
pw , , "user".
adapter# , . , .
:
NET LOGIN/WAIT \\SRV1 BRUCE SECRET
SRV1 BRUCE SECRET. , .
NET LOGIN \\HOST MARY LAMB 1
HOST MARY LAMB, 1. , .
LOGOUT
( ). , .
:
NET LOGOUT \\server,
server , .
:
NET LOGOUT \\SRV1
NET LOGOUT *
.
LPT COMBINE???
. . , . , . , , .
NET LPT COMBINE
:
. 2 , A dirextory follows, - .
echo A directory follows>lpt1
dir /w>lpt1
A dirextory follows, .
:
echo > lpt1
dir /w > lpt1
: - , - .
:
NET LPT COMBINE
echo > lpt1
dir /w > lpt1
, .
, , . . . , , - - NET LPT COMBINE.
LPT FLUSH
NET LPT COMBINE. , , NET LPT FLUSH, . , .
:
NET LPT FLUSH
, LPT COMBINE LPT FLUSH :
NET LPT COMBINE ;
echo > lpt1 ;
dir /w > lpt1 ;
NET LPT FLUSH ;
echo > lpt1 ;
dir /w > lpt1 ;
LPT NOTIFY
, , . .
:
NET LPT </ENABLE> </DISABLE> NOTIFY,
/ENABLE .
/DISABLE .
/ENABLE, /DISABLE .
:
NET LPT/ENABLE NOTIFY
LPT SEPARATE
, , NET LPT COMBINE, . . , . . , NET LPT COMBINE
:
NET LPT SEPARATE
:
NET LPT SEPARATE
LPT TIMEOUT
( ), LANtastic , , . , - . , - , , . , . . - , . , - . , , .
:
NET LPT TIMEOUT time-out,
time-out , LANtastic . 5-10 . , . time-out - 0 3600 . LANtatsic 10.
:
NET LPT TIMEOUT 10
- , , (. ). ( Mail), . , Mail Service NET.
:
NET MAIL </VOICE> filename \\server <recipient> <"comment">,
/VOICE . /V.
filename DOS- .
server -,
recipient - . "*", , .
comment , - . ( ").
:
NET MAIL C:\OUT\REPORT.TXT \\SRV1 DIMA " "
REPORT.TXT, C: \OUT , DIMA. .
MESSAGE
. BEEP / , POP / . / . : , , , - .
:
NET MESSAGE </ENABLE /DISABLE> <BEEP POP SPEAK>,
/ENABLE , , SPEAK, POP BEEP .
/DISABLE , , .
ALL : BEEP, SPEAK, POP.
POP , , , . , .
BEEP , , , . , .
SPEAK .
PAUSE
, DOS' PAUSE, . , .
:
NET PAUSE </NEWLINE> <message> <time>,
/NEWLINE .
message , , .
time ( 0 999), .
:
NET PAUSE /NEWLINE " 15 " 15
PING
- - .
:
NET PING <machine>,
machine () , . - * . , ACCOUNT* , , ACCOUNT. , - , "" - 1/18 , NET PING .
POSTBOX
, , .
:
NET POSTBOX
:
You have 1 massege on Server \\SRV
, DOS' PRINT.
:
NET PRINT </BINARY> </DATE=> </DELAY=> </DELETE> </VERBOSE> </NOTIFY> </NONOTIFY> </TIME=> </DIRECT> filename device <"comment"> <copies>
/BINARY . /B.
/DATE= . - . - -- (. 8-7-1994), -- (. 7-AUG-1994).
/DELAY= , - . 0 96 . . - :. 1:15 - .
/DIRECT -, . , .
/DELETE ( /DIRECT). .
/NOTIFY , .
/NONOTIFY . NET LPT/ENABLE NOTIFY.
/TIME= , - . . - :, 19:30 ( 7:30).
/VERBOSE , .
filename , , DOS. - ("*").
device . .
comment , . . (" "). - . , -.
copies , .
:
NET PRINT report.txt lpt1
NET PRINT C:\WP\INFO\text.txt \\SRV\@PRINTER " " 5
QUEUE HALT
- -. - , . , . Q.
:
NET QUEUE HALT \\server <(LPTn COMn ALL)>,
server -, .
LPTn , -.
COMn , -.
ALL -. - .
:
NET QUEUE HALT \\SRV
NET QUEUE HALT \\SRV LPT1
NET QUEUE HALT \\SRV COM2
NET QUEUE HALT \\SRV ALL
QUEUE PAUSE
. . NET QUEUE START. NET QUEUE HALT , , , . Q.
:
NET QUEUE PAUSE \\server <(LPTn COMn ALL)>,
server -, .
LPTn , -.
COMn , -.
ALL -. - .
:
NET QUEUE PAUSE \\SRV
NET QUEUE PAUSE \\SRV LPT1
NET QUEUE PAUSE \\SRV COM2
NET QUEUE PAUSE \\SRV ALL
QUEUE RESTART
. , , - . . NET QUEUE START, NET QUEUE HALT, NET QUEUE PAUSE NET QUEUE STOP, -. Q.
:
NET QUEUE RESTART \\server <(LPTn COMn ALL)>,
server -, .
LPTn , -.
COMn , -.
ALL -. - .
:
NET QUEUE RESTART \\SRV LPT1
NET QUEUE RESTART \\SRV COM2
NET QUEUE RESTART \\SRV ALL
QUEUE SINGLE
. , . , . , - , - , . Q.
:
NET QUEUE SINGLE \\server <(LPTn COMn ALL)>,
server -, .
LPTn , -.
COMn , -.
ALL -. - .
:
NET QUEUE SINGLE \\SRV LPT1
NET QUEUE SINGLE \\SRV COM2
NET QUEUE SINGLE \\SRV ALL
QUEUE START
. , - ( Server Startup Parameters ENABLED. DISABLED, ). Q.
:
NET QUEUE START \\server <(LPTn COMn ALL)>,
server -, .
LPTn , -.
COMn , -.
ALL -. - .
:
NET QUEUE START \\SRV LPT1
NET QUEUE START \\SRV COM2
NET QUEUE START \\SRV ALL
QUEUE STATUS
.
:
NET QUEUE STATUS \\server <(LPTn COMn ALL)>,
server -, .
LPTn , -.
COMn , -.
ALL -. - .
:
NET QUEUE STATUS \\SRV LPT1
NET QUEUE STATUS \\SRV COM2
NET QUEUE STATUS \\SRV ALL
:
LPT1 CPS:169 Read:20480 Output 17555 Copies left:1
LPT2 DISABLED - Not Despooling -
LPT3 ENABLED - Not Despooling -
COM1 PAUSED - Not Despooling -
COM2 ENABLED - Not Despooling -
LPT1 . COM1 , . . . LPT2 , , , NET QUEUE START. , LPT3 COM2 , - .
QUEUE STOP
. , , . , . Q. NET QUEUE START.
:
NET QUEUE STOP \\server <(LPTn COMn ALL)>,
server -, .
LPTn , -.
COMn , -.
ALL -. - .
:
NET QUEUE STOP \\SRV LPT1
NET QUEUE STOP \\SRV COM2
NET QUEUE STOP \\SRV ALL
RECEIVE
, , . , - NET SEND , . NET RECEIVE, , , . , NET RECEIVE, , .
:
NET RECEIVE <position> <delay>
position () , . 0 23. , delay.
delay , . 0 65539 . , position.
:
NET RECEIVE
NET RECEIVE 15 7
RUN
. , . , . BACKUP , , . . , - . S ( ).
:
NET RUN </NOCK> \\server "command",
NOCK , NET " " , .
server , .
command , .
:
NET RUN \\SRV1 "BACKUP"
SEND
- , - . NET MESSAGE , , , . server user, , , - .
:
NET SEND machine "message" <<server> <user>>,
machine - . , , "*".
message , .
server , . . - .
user , . , server, . . user , , server. "*" - .
:
NET SEND * " 304 18.30. ."
NET SEND IRINA ", " SRV1 IRINA
SHOW
- , , . .
:
NET SHOW </BATCH>,
/BATCH , . NET LOGIN, NET USE . /B.
NET SHOW:
LANtastic (R) Connection Manager V5.0-(C)
Copyright 1992 Artisoft Inc.
Machine PEER1 is beign used as a Redirector and a Server.
File and record locking is currently ENABLED
Unsolicited messages will BEEP, POP-UP and SPEAK
LPT notification is disabled
LPT timeout in seconds: 10
Autologin is enabled with user name USER
Logged into PEER1 as USER on adapter zero
Logged into PEER2 as USER on adapter )
Disk D: is redirected to \\PEER2\C-DRIVE
Disk E: is redirected to \\PEER2\A-DRIVE
/BATCH SHOW, - . , , NET , . - , - . NET SHOW /BATCH, , .
.BAT-:
NET SHOW/BATCH>LOGIN.BAT
SHUTDOWN
(. . ) / . , . , , (, ). . , S ( ). , , , , S.
:
NET SHUTDOWN </REBOOT> </CANCEL> </HALT> </SILENT> \\server <<minutes> <"message">>, :
/REBOOT , .
/CANCEL , .
/HALT .
/SILENT , , .
server , .
minutes , , .
message , , . , :
"Server is shutting down".
:
NET SHUTDOWN \\SRV 5 " . # minute$".
NET SHUTDOWN /REBOOT \\SRV 5 " # minute$".
NET SHUTDOWN /REBOOT \\SRV " - !\"
# $. , , , , . # , . $ - , -. , s. - .
SLOGIN
/ . NET SLOGIN /DISABLE, . , . , , S ( ).