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


part1.part2 -> px.part999.rForTheCourse



tải về 1.67 Mb.
Chế độ xem pdf
trang77/92
Chuyển đổi dữ liệu18.05.2022
Kích1.67 Mb.
#52014
1   ...   73   74   75   76   77   78   79   80   ...   92
Cac lenh co ban trong DOS


part1.part2 -> px.part999.rForTheCourse 
part1.part2.part3 -> px.part999.parForTheCourse 
part1.part2.part3.part4 (Not renamed because it doesn't match 
sourceMask) 
a.b.c -> ax.b999.crForTheCourse 
a.b.CarPart3BEER -> ax.b999.CarParForTheCourse 


A sourceMask with at least 8

for the name and at least 3

for the extension will match all 
files because it will always match the short 8.3 name. 
ren ????????.??? ?x.????999.*rForTheCourse 
part1.part2.part3.part4 -> px.part999.part3.parForTheCourse 
“We may dig in our heels and dare life never to change, but, all the same, it changes under our 
feet like sand under the feet of a sea gazer as the tide runs out. Life is forever undermining us. 
Life is forever washing away our castles, reminding us that they were, after all, only sand and 
sea water” - Erica Jong (Parachutes and Kisses)
REPLACE
 
Replace or update one file with another 
Syntax 
REPLACE Source_PathName Destination_path [/A] [/P] [/R] [/W] 
REPLACE Source_PathName Destination_path [/P] [/R] [/S] [/W] [/U] 
Key 
path : The folder where files are to be replaced. 
/A : Add any missing files. 
/P : Prompt for confirmation (each file) 
/R : Replace even Read-only files 
/S : Include all subfolders of the destination. 
/W : Wait for you to insert a floppy disk. 
/U : Replace (update) only files that are older than the source. 
Limitations: 
When replacing in all subdirectories (/S ) you cannot ADD files (/A) or restrict to replacing older 
files (/U) 
"That's the secret to life... replace one worry with another" ~ Charles M. Schulz
RD
 
Delete folder(s) 
Syntax 
RD pathname 
RD /S pathname 
RD /S /Q pathname 
Key 
/S : Delete all files and subfolders 
in addition to the folder itself. 
Use this to remove an entire folder tree. 
/Q : Quiet - do not display YN confirmation 
Place any long pathnames in double quotes. 
RD will only delete an empty folder. 
RD /S will delete subfolders even if they contain files.
RD does not support 
wildcards
 but you can remove multiple folders in one command: 
RD C:\docs\Jan C:\docs\Feb "C:\My Documents\Mar"
“Dying is the most embarrassing thing that can happen to you, because someones got to take 
care of all your details” - Andy Warhol 


RMTSHARE.exe
 (
NT 4 Resource kit
 - 
download

Manage File and Printer shares, local or on a remote server. 
Although missing from recent Resource kits, the old version appears to work fine under 
Windows 2000/XP/2003. 
Syntax 
Display all shares 
RMTSHARE \\server 
Display details of a specific share 
RMTSHARE \\server\sharename 
Share a Folder
RMTSHARE \\server\sharename=drive:path [options
Share a Printer
RMTSHARE \\server\sharename=printername /PRINTER [options
Edit an existing SHARE 
RMTSHARE \\server\sharename [options
Delete a SHARE 
RMTSHARE \\server\sharename /DELETE 
Options 
/USERS:number
/UNLIMITED 
/REMARK:"text
/GRANT user:perm 
/REMOVE user 
Notes: Either specify 
/Users
to restrict the number of connections that can be made OR 
specify 
/UNLIMITED
You can include several 
/GRANT
s in a single command line. 
Enclose paths that include spaces like this 
\\server\"long share name"="c:\long file name"
“How to be green? consume less, share more, enjoy life” ~ Penny Kemp 

tải về 1.67 Mb.

Chia sẻ với bạn bè của bạn:
1   ...   73   74   75   76   77   78   79   80   ...   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