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



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

 
 
“If you're going to tell people the truth, you'd better make them laugh, Otherwise they'll kill 
you” - George Bernard Shaw
LABEL
 
Edit a disk label. 
Syntax 
LABEL [drive:][label
The disk label is never referred to by other batch commands, it's just for human recognition.
e.g. as a reminder of which floppy disk is actually in the machine. 
The maximum length is 11 characters (spaces allowed) 
This is not to be confused with the 
drive description
held in the registry. 
Example
LABEL A: My work disk 
“A name is a label, and as soon as there is a label, the ideas disappear and out comes label-
worship and label-bashing” ~ Richard Bach 
LOCAL
 (
Resource kit

Display membership of local groups on remote servers or remote domains. 
Syntax 
LOCAL group_name domain_name | \\server 
Key 
group_name 
The local group. 
domain_name 
A network domain. 
server
A network server. 
Examples: 
Local "Power Users" Scotland
Displays the members of the group 'Power Users' in the Scotland domain.
Local Administrators \\9G_Server
Displays the members of the group Administrators on server 9G_Server. 
“This is a local shop for local people, there‟s nothing for you here‟ ~ 
league of gentlemen
 
LOGEVENT
 (
Resource kit

Write text to the event log (event viewer) 
Syntax 
logevent [-m \\MachineName] [options] "Event Text
Options 


-s Severity one of
(S)uccess
(I)nformation
(W)arning
(E)rror 
(F)ailure 
-c Category A Number between 0 and 65536 
This can be used to Filter the event log view 
(default = "none") 
When a fellow says, "It ain't the money but the principle of the thing," it's the money. - Kim 
Hubbard 
LOGOFF.exe
 
Log a user off. 
Syntax 
LOGOFF [/f] [/n]
Key 
/f Force running processes to close, but will ask for user 
confirmation. 
The user will not be asked to save unsaved data.
/n Force running processes to close without confirmation.
The user will be prompted to save unsaved data. 
By default LOGOFF will ask for user confirmation and prompt to save unsaved data. 
 “The man who is tired of London is tired of looking for a parking space” ~ Paul Theroux 
LOGTIME.exe
 (
Resource kit

Create logtime.txt and adds the date, time and a message 
Syntax 
LOGTIME text_string 
Key 
text_string : The message to add to the log file.
The date is stored in the US mm/dd/yy format (NT 4.0) 
Sample batch file:
LOGTIME "begin import program"
import.exe
LOGTIME "end import program" 

tải về 1.67 Mb.

Chia sẻ với bạn bè của bạn:
1   ...   39   40   41   42   43   44   45   46   ...   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