Example
E:\Hpro\Q-A\bin>pathping google.com
Tracing route to google.com [74.125.45.100]
over a maximum of 30 hops:
0 home-bc2a5cd78c.globalsuite.net [172.17.176.166]
1 172.17.1.1
2 65.217.42.129
3 500.Serial1-3-3-17-0.GW6.GSO1.ALTER.NET [65.208.82.133]
4 0.ge-3-1-0.XL1.GSO1.ALTER.NET [152.63.41.94]
5 0.so-6-0-0.XL3.IAD8.ALTER.NET [152.63.0.138]
6 0.xe-9-0-0.BR1.IAD8.ALTER.NET [152.63.41.49]
7 te-11-3-0.edge1.Washington4.level3.net [4.68.63.169]
8 ae-1-69.edge1.Washington1.Level3.net [4.68.17.16]
9 GOOGLE-INC.edge1.Washington1.Level3.net [4.79.22.38]
10 209.85.240.136
11 72.14.238.136
12 72.14.232.213
13 209.85.253.137
14 yx-in-f100.google.com [74.125.45.100]
Computing statistics for 350 seconds...
Source to Here This Node/Link
Hop RTT Lost/Sent = Pct Lost/Sent = Pct Address
0 home-bc2a5cd78c.globalsuite.net [172.17.176.166]
0/ 100 = 0% |
1 22ms 0/ 100 = 0% 0/ 100 = 0% 172.17.1.1
0/ 100 = 0% |
2 23ms 0/ 100 = 0% 0/ 100 = 0% 65.217.42.129
0/ 100 = 0% |
3 38ms 0/ 100 = 0% 0/ 100 = 0% 500.Serial1-3-3-17-0.GW6.GSO1.ALTER.NET [65.208.82.133]
0/ 100 = 0% |
4 36ms 0/ 100 = 0% 0/ 100 = 0% 0.ge-3-1-0.XL1.GSO1.ALTER.NET [152.63.41.94]
0/ 100 = 0% |
5 45ms 0/ 100 = 0% 0/ 100 = 0% 0.so-6-0-0.XL3.IAD8.ALTER.NET [152.63.0.138]
0/ 100 = 0% |
6 51ms 0/ 100 = 0% 0/ 100 = 0% 0.xe-9-0-0.BR1.IAD8.ALTER.NET [152.63.41.49]
0/ 100 = 0% |
7 56ms 0/ 100 = 0% 0/ 100 = 0% te-11-3-0.edge1.Washington4.level3.net [4.68.63.169]
0/ 100 = 0% |
8 60ms 1/ 100 = 1% 1/ 100 = 1% ae-1-69.edge1.Washington1.Level3.net [4.68.17.16]
0/ 100 = 0% |
9 --- 100/ 100 =100% 100/ 100 =100% GOOGLE-INC.edge1.Washington1.Level3.net [4.79.22.38]
0/ 100 = 0% |
10 58ms 0/ 100 = 0% 0/ 100 = 0% 209.85.240.136
0/ 100 = 0% |
11 82ms 0/ 100 = 0% 0/ 100 = 0% 72.14.238.136
0/ 100 = 0% |
12 82ms 1/ 100 = 1% 1/ 100 = 1% 72.14.232.213
0/ 100 = 0% |
13 87ms 0/ 100 = 0% 0/ 100 = 0% 209.85.253.137
0/ 100 = 0% |
14 82ms 0/ 100 = 0% 0/ 100 = 0% yx-in-f100.google.com [74.125.45.100]
Trace complete. |
Example set /p name= What is your name? |
RD
RMDIR [/S] [/Q] [drive:]path
RD [/S] [/Q] [drive:]path
/S Removes all directories and files in the specified directory
in addition to the directory itself. Used to remove a directory
tree.
/Q Quiet mode, do not ask if ok to remove a directory tree with /S
|
DEL
DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names
ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names
names Specifies a list of one or more files or directories.
Wildcards may be used to delete multiple files. If a
directory is specified, all files within the directory
will be deleted.
/P Prompts for confirmation before deleting each file.
/F Force deleting of read-only files.
/S Delete specified files from all subdirectories.
/Q Quiet mode, do not ask if ok to delete on global wildcard
/A Selects files to delete based on attributes
attributes R Read-only files S System files
H Hidden files A Files ready for archiving
- Prefix meaning not
If Command Extensions are enabled DEL and ERASE change as follows:
The display semantics of the /S switch are reversed in that it shows
you only the files that are deleted, not the ones it could not find. |
Example E:\Hpro\Q-A\bin>nslookup 4.2.2.1 Server: vnsc-pri.sys.gtei.net Address: 4.2.2.1 Name: vnsc-pri.sys.gtei.net Address: 4.2.2.1 |
Example C:\batch>XCOPY xcopyHelp abc Does abc specify a file name or directory name on the target (F = file, D = directory)? F C:xcopyHelp 1 File(s) copied |
Example E:\Hpro\Q-A\bin>tracert google.com Tracing route to google.com [74.125.45.100] over a maximum of 30 hops: 1 23 ms 22 ms 22 ms 172.17.1.1 2 23 ms 23 ms 22 ms 65.217.42.129 3 96 ms 41 ms 29 ms 500.Serial1-3-3-17-0.GW6.GSO1.ALTER.NET [65.208.82.133] 4 29 ms 29 ms 63 ms 0.ge-3-1-0.XL1.GSO1.ALTER.NET [152.63.41.94] 5 37 ms 40 ms 41 ms 0.so-6-0-0.XL3.IAD8.ALTER.NET [152.63.0.138] 6 61 ms 38 ms 38 ms 0.xe-3-3-0.BR1.IAD8.ALTER.NET [152.63.33.117] 7 44 ms 45 ms 43 ms te-11-3-0.edge1.Washington4.level3.net [4.68.63.169] 8 42 ms 44 ms 43 ms ae-1-69.edge1.Washington1.Level3.net [4.68.17.16] 9 65 ms 101 ms 64 ms GOOGLE-INC.edge1.Washington1.Level3.net [4.79.231.6] 10 162 ms 46 ms 45 ms 209.85.240.136 11 69 ms 69 ms 74 ms 66.249.95.149 12 72 ms 69 ms 136 ms 209.85.254.241 13 72 ms 82 ms 72 ms 209.85.253.141 14 69 ms 72 ms 72 ms yx-in-f100.google.com [74.125.45.100] Trace complete. |