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


Example: CHKDSK C: /F Fixing Errors /F



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

Example:
CHKDSK C: /F
Fixing Errors /F
If the drive is the boot partition, you will be prompted to run the check during the next boot 
If you specify the /f switch, chkdsk will show an error if 
open files
are found on the disk. 
Chkdsk /f will lock the volume, making data unavailable until chkdsk is finished. 
If you use chkdsk /f on a disk with a very large number of files (millions), chkdsk may take a long 
time to complete. 
When you delete a file or folder that has 'custom' permissions, the ACL is not deleted, it is 
cached. Chkdsk /f will remove ACLs that are no longer used. This is often the cause of the 
rather worrying message: 
"Windows found problems with the file system. Run chkdsk with the /F 
(fix) option to correct these."


It is normal for chkdsk /F to remove unused index entries and unused security descriptors every 
time you run it, these do not indicate a problem with the file system.
Scan only (without /f switch)
If a file needs to be fixed chkdsk will alert you with a message but will not fix the error(s).
chkdsk may report lost allocation units on the disk - it will produce this report even if the files are 
in-use (open). If corruption is found, consider closing all files and repairing the disk with /F. 
Running chkdsk on a data volume that is in use by another program or process may incorrectly 
report errors when none are present. To avoid this, close all programs or processes that have 
open handles to the volume. 
On computers running Windows 2003 SP1, chkdsk automatically creates a shadow copy, so you 
can check volumes that are 'in use' by another program or process. This enables an accurate 
report against a live file server. On earlier versions of Windows, chkdsk would always lock the 
volume, making data unavailable. 
Run at Bootup
Running at bootup is often the easiest way to close all open file handles. 
Use the GUI, 
chkntfs
 or the 
FSUTIL
 dirty commands to set or query the volumes 'dirty' bit so that 
Windows will run chkdsk when the computer is restarted. 
Event Logs
Chkdsk will log error messages in the Event Viewer - System Log.
Chkdsk /f removes ACLs that are no longer used and reports this in the Event Viewer - 
Application Log. 

tải về 1.67 Mb.

Chia sẻ với bạn bè của bạn:
1   ...   13   14   15   16   17   18   19   20   ...   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