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


Changing the Current drive



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

Changing the Current drive
Enter the drive letter followed by a colon
C:> E: 
E:> 
To change drive and directory at the same time, use CD with the /D switch 
C:> cd /D E:\utils 
E:\utils\>
CD is an 
internal
 command. 
“Change is the law of life. And those who look only to the past or the present are certain to miss 
the future” ~ John F. Kennedy 
CHANGE
 
Change Terminal Server Session properties, use when installing software on a terminal server. 
Syntax 
CHANGE USER /options 
CHANGE LOGON /options 
CHANGE PORT /options 
Options: 
To change .INI file mapping: (administrator rights required) 
CHANGE USER /INSTALL Enable install mode. This command has to be 
run before 
installing any new software on a Terminal 
Server. 
This will create a .ini file for the 
application 
in the TS system directory. 
CHANGE USER /EXECUTE Enable execute mode (default) 
Run this when an installation is complete. 
CHANGE USER /QUERY Display current settings. 
To enable or disable terminal session logins: 
CHANGE LOGON /QUERY Query current terminal session login mode. 
CHANGE LOGON /ENABLE Enable user login from terminal sessions. 
CHANGE LOGON /DISABLE Disable user login from terminal sessions. 
To list or change COM port mappings for the current session. 
This can allow DOS applications to access high numbered ports e.g. 
COM12 
CHANGE PORT portx=porty Map port x to port y. 
CHANGE PORT /D portx Delete mapping for port x. 
CHANGE PORT /QUERY Display current mapping ports. 
How .ini files work: 
Installing an application will create a .ini file in the TS system directory. 
The first time a user runs the application, the application looks in the home directory for its .ini 


file. If none is found then Terminal Server will copy the .ini file from the system directory to the 
users home directory. 
Each user will have a unique copy of the application's .ini file in their home directory. 
To learn more about what happens when the system is put into install mode run CHANGE 
USER /?
The CHANGE command replaces CHGLOGON, CHGUSER, and CHGPORT from Citrix 
Winframe. 
“There are two ways to slide easily through life; to believe everything or to doubt everything. 
Both ways save us from thinking” ~ Alfred Korzybski
chkdsk.exe
 
Check Disk - check and repair disk problems 
Syntax 
CHKDSK [drive:][[path]filename] [/F] [/V] [/R] [/L[:size]]
Key 
[drive:] The drive to check.
filename File(s) to check for fragmentation (FAT only).
/F Automatically Fix file system errors on the disk. 
/X Fix file system errors on the disk, (Win2003 and above) 
dismounts the volume first, closing all open file 
handles. 
/R Scan for and attempt Recovery of bad sectors. 
/V Display the full path and name of every file on the disk.
/L:size NTFS only: change the log file size to the specified 
number of kilobytes.
If size is not specified, displays the current log size 
and the drive type 
(FAT or NTFS). 
/C Skip directory corruption checks.
/I Skip corruption checks that compare directory entries to 
the 
file record segment (FRS) in the volume's master file 
table (MFT) 

tải về 1.67 Mb.

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