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



tải về 1.67 Mb.
Chế độ xem pdf
trang39/92
Chuyển đổi dữ liệu18.05.2022
Kích1.67 Mb.
#52014
1   ...   35   36   37   38   39   40   41   42   ...   92
Cac lenh co ban trong DOS

executable_path=
nothing and the FTYPE command will delete 
the 
executable_path
for that FileType.
For example: 
FTYPE htmlfile= 
Backup FileTypes 
FTYPE >backup_types.txt 
ASSOC >backup_ext.txt
Restore FileTypes from a Backup 
FOR
 /F "tokens=* delims=" %G IN (backup_types.txt) DO FTYPE %G 
FOR /F "tokens=* delims=" %G IN (backup_ext.txt) DO ASSOC %G
This will recreate the CLASS id's in the registry at HKey_Classes_Root\.
If you put the commands above in a batch file change the %G to be %%G 
Use file associations at the command line 


If you have a file association between .DOC and Word for Windows then at a command prompt 
you can open a document with any of the following commands: 
Start "My Document.doc" 
"Monthly Report.doc" 
JULY.DOC
note that the file extension must be supplied for this to work 
FTYPE is an 
internal
 command. 
"True to type - Of a plant, or group of plants, which matches the accepted description of the 
cultivar to which it is assumed to belong"
GLOBAL
 (
Resource kit

Display membership of global groups on remote servers or remote domains. 
Syntax 
GLOBAL group_name domain_name | \\server 
Key 
group_name 
The global group. 
domain_name 
A network domain. 
\\server A network server. 
Examples: 
GLOBAL "Domain Users" Scotland
Displays the members of the group "Domain Users" in the Scotland domain.
GLOBAL PrintUsers \\9G_Server
Displays the members of the group PrintUsers on server 9G_Server. 
"The balance of evidence suggests a discernible human influence on global climate" - 
IPCC
 
GOTO
 
Direct a batch program to jump to a labelled line. 
Syntax 
GOTO label 
GOTO:eof 
Key 
label A predefined label in the batch program. 
Each label must be defined on a line by itself, beginning 
with 
a colon and ending with either a space, a colon or a CR/LF. 
:eof This predefined label will exit the current routine. 
To exit a batch script file or exit a subroutine specify 
GOTO:eof 
this will transfer control to the 
end of the current batch file or the end of the current subroutine. Unlike 
Exit /b
 the goto:eof will 
automatically set an errorlevel. 



tải về 1.67 Mb.

Chia sẻ với bạn bè của bạn:
1   ...   35   36   37   38   39   40   41   42   ...   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