Windows . , MS DOS.
. , . . . - .
. , . . ? , . - , .
, Windows. , , . , . CMD . . , , , , , , , , . . .
? Windows . , . . : - . Cmd, Enter. , Win+R. Windows , - , .
, Cmd, Cmd, . , . (, , ). . . , , "", , . , "". , "" , "/".
|
|
. DIR - , , , , . , . DIR/W.
CD - , . . MD - . CLS - . EDIT - . DEL - . RD - , . , . REN . : RENAME - -. MOVE . Attrib . COPY . : COPY - . COPY.doc Word .doc . CMD . APR , . , , , .
Format , . : FORMAT :/FS:FAT ( ).
FC .
IPCONFIG - , IPCONFIG/ALL.
PING . : PING fb.ru. , , .
, . IP-, Ipconfig. . , . Wi-Fi, . , . , IP- . Ping Tracert . Netstat-an . , . -an , IP-. Telnet . , Ipconfig. , IP-. All. Ipconfig/flushdns - Windows. , . , . , , , . : More - ; Find - ; Sort - . L, I. CMD, . , . . SHUTDOWN - , Windows, - . , , ( ). . , . Shutdown-s-t-1300, Enter. - , . : Shutdown-r. . At - . Windows.
|
|
. , , . ! . : Format ѻ, /fs - , /v - , /a - . , , . !
. CHKDSK . , /f, . , . , c/s . Sfc. . /scannow, /scanonce, /scanboot, .
, . , Assoc . , Systeminfo. Regent . , , - Windows. - , "Msconfic". , "Help", , - Windows. , . "At" , , , . -. , , . Windows "At" "SCHTASKS". .
|
|
1
Windows .
, ? , , ( ), , . , . . , . .
Windows , . Windows(, , ) . .
: (Start). . CMD. , . CMD, . , . >> . . ID. . ID .
: netstat -aon | more. . . .
? . : LISTENING ( , ); ESTABLISHED ( , ); TIME_WAIT ( ). , ? , , 3260. PID (Process ID) . , , 4060. . Del+Alt+Ctrl. PID . >> . . . (PID). . 4060 PID. StarWindService.exe. SYSTEM. , , . - .
, . , . Nmap. UNIX-. Windows. Nmap . IP . . , , . . .
|
|
2. .
() , , . MS-DOS , .BAT. Windows NT/2000/XP , .bat.cmd. ( ), Cmd.exe , .
. , for, goto if, . , if . , .
, 0, , 1 ( ), . , . .
Ctrl+C Ctrl+Break. , , , . . , CALL.
:
, | |
, , | |
(...) | |
([]) | |
({}); (|). : {|} | , |
Courier |