1. Lệnh Ping : Cú pháp: Code: ping ip/host [/t][/a][/l][/n]



tải về 1.67 Mb.
Chế độ xem pdf
trang18/92
Chuyển đổi dữ liệu18.05.2022
Kích1.67 Mb.
#52014
1   ...   14   15   16   17   18   19   20   21   ...   92
Cac lenh co ban trong DOS

Cluster (or block) Size
CHKDSK produces a report that shows the the block /cluster size 
typically: "4096 bytes in each allocation unit."
When the cluster size is greater than 4 KB on an NTFS volume, none of the NTFS compression 
functions are available. 
Exit codes 
0 No errors were found 
1 Errors were found and fixed. 
2 Could not check the disk, did not or could not fix errors. 
Notes:
Consider the time required to run Chkdsk to repair any errors that occur. Chkdsk times are 
determined by the number of files on the volume and by the number of files in the largest folder. 
Chkdsk performance was improved by 30% under Windows 2003 and around 50% in 2008 R2.
To issue chkdsk on a hard drive you must be a member of the Administrators group. 
When CHKDSK is set to run at boot-up there is a delay to allow the check to be cancelled - this 
can be configured in the registry: 
HKLM\System\CurrentControlSet\Control\Session Manager 
REG_DWORD:AutoChkTimeOutData 
The value is the time in seconds that you want CHKDSK to wait (0 = no delay) default is 10 
seconds. 
Chkdsk is also available from the 
Recovery Console
 (with different parameters.) 
Disk Errors
"The file system structure on the disk is corrupt and unusable" 
If you have disk corruption, run the drive manufacturers diagnostics:
Toshiba
 | 
Hitachi
 | 
ibm
 | 
Seagate/Maxtor/Freeagent
 | 
Western digital
 


“I either want less corruption, or more chance to participate in it” ~ Ashleigh Brilliant 
CHKNTFS.exe
 
Check the NTFS file system with 
CHKDSK
 
Syntax 
CHKNTFS drive: [...] 
CHKNTFS /C drive: [...] 
CHKNTFS /X drive: [...] 
CHKNTFS /t[:Time
CHKNTFS /D 
Key 
drive : Specifies a drive letter. 
/C : Check - schedules chkdsk to be run at the next reboot. 
/X : Exclude a drive from the default boot-time check.
Excluded drives are not accumulated between command 
invocations. 
/T : Change the Autochk.exe initiation countdown time (time in 
seconds) 
If you don’t specify Time: displays the current countdown time. 
/D : Restore the machine to the default behavior; all drives are 
checked at boot time and chkdsk is run on those that are dirty. 
This undoes the effect of the /X option. 
If no switches are specified, CHKNTFS will display the status of the dirty bit for each drive. 
“I don‟t make no dirty movements” ~ Elvis 
CHOICE.exe
 
Accept user input to a batch file. Choice allows single key-presses to be captured from the 
keyboard. 
CHOICE [/c [choiceKeys]] [/N] [/CS] [/t Timeout /d Choice] [/m 
Text
key 
/C[:]choiceKeys : One or more keys the user can press. Default is 
YN. 
/N : Do not display choiceKeys at the end of the prompt 
string. 
/CS : Make the choiceKeys Case Sensitive. 
/T Timeout : Timeout in Timeout seconds 
If Timeout is 0 there will be no pause and the 
default will be selected. 
/d choice : Default choice made on Timeout. 
/m text : Message string to describe the choices available. 
ERRORLEVEL
will return the numerical offset of choiceKeys. 
Choice.exe is a standard command in Windows 2003, Vista and Windows 7 (for XP you can use 
the early resource kit versions). 

tải về 1.67 Mb.

Chia sẻ với bạn bè của bạn:
1   ...   14   15   16   17   18   19   20   21   ...   92




Cơ sở dữ liệu được bảo vệ bởi bản quyền ©hocday.com 2024
được sử dụng cho việc quản lý

    Quê hương