2353
Parameter
/all
: Displays all files (including those in the recycle bin).
file
-
url
: Name of the file or directory to be displayed. Asterisks (*) are acceptable as
wildcards. For example, to display files with the .txt extension under the current
directory, you may use the
dir *
.txt command.
Description
Use the
dir
command to display information about all visible files and folders in
the current directory.
Use the
dir /all
command to display information about all files and folders on
your device, including hidden files, hidden subfiles and those in the recycle bin.
The names of these deleted files are enclosed in pairs of brackets ([ ]).
The
dir
file
-
url
command displays information about a file or folder.
This command supports the wildcard *.
Example
# Display information about all files and folders.
Directory of cf:/
0
drw-
-
Jul 18 2006 10:32:44
logfile
1
-rw-
16044820
Oct 30 2006 15:46:58
main.bin
2
-rwh
4
Oct 31 2006 14:08:16
snmpboots
3
-rw-
2012
Oct 30 2006 16:17:28
config.cfg
4
-rwh
828
Oct 30 2006 16:17:26
private-data.txt
5
drw-
-
Oct 31 2006 14:28:24
test
6
-rw-
16044820
Oct 31 2006 14:34:24
[mytest.bin]
252344 KB total (220800 KB free)
File system type of cf: FAT16
[ ] indicates this file is in the recycle bin.
execute
Syntax
execute
filename
View
System view
Parameter
filename
: Name of a batch file with a .bat extension.
Description
Use the
execute
command to execute the specified batch file.
Batch files are command line files. Executing a batch file is to execute a set of
command lines in the file.
You should not include invisible characters in a batch file. If an invisible character is
found during the execution, the batch process will abort and the commands that
have been executed cannot be cancelled.
Not every command in a batch file is sure to be executed. For example, if a certain
command is not correctly configured, the system omits this command and goes to
the next one.
Summary of Contents for MSR 20-20
Page 110: ......
Page 130: ...130 CHAPTER 4 ATM OC 3C STM 1 INTERFACE CONFIGURATION COMMANDS...
Page 141: ...141 Sysname system view Sysname interface atm 5 0 Sysname Atm5 0 shdsl wire 4 auto enhanced...
Page 142: ...142 CHAPTER 5 G SHDSL INTERFACE CONFIGURATION COMMANDS...
Page 150: ...150 CHAPTER 6 ADSL INTERFACE CONFIGURATION COMMANDS...
Page 174: ...174 CHAPTER 8 GENERAL ETHERNET INTERFACE CONFIGURATION COMMANDS...
Page 186: ...186 CHAPTER 9 CONFIGURATION COMMANDS FOR ETHERNET INTERFACES IN BRIDGE MODE...
Page 288: ...288 CHAPTER 17 FUNDAMENTAL CT3 INTERFACE CONFIGURATION COMMANDS...
Page 290: ...290 CHAPTER 18 ISDN BRI INTERFACE CONFIGURATION COMMANDS...
Page 336: ...336 CHAPTER 20 DCC CONFIGURATION COMMANDS...
Page 418: ...418 CHAPTER 24 GVRP CONFIGURATION COMMANDS...
Page 502: ...502 CHAPTER 30 PORT MIRRORING CONFIGURATION COMMANDS...
Page 532: ...532 CHAPTER 32 PPP LINK EFFICIENCY MECHANISM CONFIGURATION COMMANDS...
Page 538: ...538 CHAPTER 33 PPPOE SERVER CONFIGURATION COMMANDS...
Page 548: ...548 CHAPTER 35 PPP DEBUGGING COMMANDS...
Page 596: ...596 CHAPTER 37 ISDN CONFIGURATION COMMANDS...
Page 630: ...630 CHAPTER 38 MSTP CONFIGURATION COMMANDS...
Page 638: ...638 CHAPTER 39 VLAN CONFIGURATION COMMANDS...
Page 652: ...652 CHAPTER 41 VOICE VLAN CONFIGURATION COMMANDS...
Page 670: ...670 CHAPTER 44 LOGICAL INTERFACE CONFIGURATION COMMANDS...
Page 688: ...688 CHAPTER 45 CPOS INTERFACE CONFIGURATION COMMANDS...
Page 696: ...696 CHAPTER 46 ARP CONFIGURATION COMMANDS...
Page 728: ...728 CHAPTER 51 DHCP SERVER CONFIGURATION COMMANDS...
Page 742: ...742 CHAPTER 52 DHCP RELAY AGENT CONFIGURATION COMMANDS...
Page 746: ...746 CHAPTER 53 DHCP CLIENT CONFIGURATION COMMANDS...
Page 750: ...750 CHAPTER 54 DHCP SNOOPING CONFIGURATION COMMANDS...
Page 772: ...772 CHAPTER 57 DNS CONFIGURATION COMMANDS...
Page 786: ...786 CHAPTER 59 IP ADDRESSING CONFIGURATION COMMANDS...
Page 806: ...806 CHAPTER 60 IP PERFORMANCE CONFIGURATION COMMANDS...
Page 818: ...818 CHAPTER 61 IP UNICAST POLICY ROUTING CONFIGURATION COMMANDS...
Page 822: ...822 CHAPTER 62 UDP HELPER CONFIGURATION COMMANDS...
Page 824: ...824 CHAPTER 63 URPF CONFIGURATION COMMANDS...
Page 828: ...828 CHAPTER 64 FAST FORWARDING COMMANDS...
Page 880: ...880 CHAPTER 67 DUAL STACK CONFIGURATION COMMANDS...
Page 888: ...888 CHAPTER 68 TUNNELING CONFIGURATION COMMANDS...
Page 928: ...928 CHAPTER 70 TERMINAL ACCESS CONFIGURATION COMMANDS...
Page 1014: ...1014 CHAPTER 72 BGP CONFIGURATION COMMANDS...
Page 1088: ...1088 CHAPTER 74 IS IS CONFIGURATION COMMANDS...
Page 1106: ...1106 CHAPTER 75 IS IS DEBUGGING COMMANDS...
Page 1212: ...1212 CHAPTER 79 IPV4 ROUTING POLICY CONFIGURATION COMMANDS...
Page 1268: ...1268 CHAPTER 82 IPV6 BGP CONFIGURATION COMMANDS...
Page 1324: ...1324 CHAPTER 85 IPV6 RIPNG CONFIGURATION COMMANDS...
Page 1364: ...1364 CHAPTER 88 IGMP CONFIGURATION COMMANDS...
Page 1430: ...1430 CHAPTER 90 PIM CONFIGURATION COMMANDS...
Page 1504: ...1504 CHAPTER 93 IPV6 PIM CONFIGURATION COMMANDS...
Page 1644: ...1644 CHAPTER 96 MPLS TE CONFIGURATION COMMANDS...
Page 1670: ...1670 CHAPTER 97 MPLS L2VPN CONFIGURATION COMMANDS...
Page 1742: ...1742 CHAPTER 101 IPSEC PROFILE CONFIGURATION COMMANDS...
Page 1774: ...1774 CHAPTER 105 TRAFFIC POLICING TP CONFIGURATION COMMANDS...
Page 1778: ...1778 CHAPTER 106 TRAFFIC SHAPING CONFIGURATION COMMANDS...
Page 1782: ...1782 CHAPTER 107 LINE RATE CONFIGURATION COMMANDS...
Page 1807: ...1807 Sysname system view Sysname qos policy user1 Sysname qospolicy user1...
Page 1808: ...1808 CHAPTER 110 DEFINING POLICY COMMANDS...
Page 1810: ...1810 CHAPTER 111 FIFO QUEUING CONFIGURATION COMMANDS...
Page 1836: ...1836 CHAPTER 116 RTP PRIORITY QUEUE CONFIGURATION COMMANDS...
Page 1838: ...1838 CHAPTER 117 QOS TOKEN CONFIGURATION COMMANDS...
Page 1842: ...1842 CHAPTER 118 PRIORITY MAPPING TABLE CONFIGURATION COMMANDS...
Page 1844: ...1844 CHAPTER 119 PORT PRIORITY CONFIGURATION COMMANDS...
Page 1852: ...1852 CHAPTER 121 WRED CONFIGURATION COMMANDS...
Page 1860: ...1860 CHAPTER 123 MPLS QOS CONFIGURATION COMMANDS...
Page 1874: ...1874 CHAPTER 124 DAR CONFIGURATION COMMANDS...
Page 1947: ...1947 Sysname system view Sysname local user user1 Sysname luser user1 work directory cf...
Page 1948: ...1948 CHAPTER 127 AAA CONFIGURATION COMMANDS...
Page 1990: ...1990 CHAPTER 129 HWTACACS CONFIGURATION COMMANDS...
Page 2008: ...2008 CHAPTER 131 ASPF CONFIGURATION COMMANDS...
Page 2080: ...2080 CHAPTER 135 PORTAL CONFIGURATION COMMANDS...
Page 2086: ...2086 CHAPTER 137 COMMON CONFIGURATION COMMANDS...
Page 2102: ...2102 CHAPTER 138 IPV4 ACL CONFIGURATION COMMANDS...
Page 2118: ...2118 CHAPTER 139 IPV6 ACL CONFIGURATION COMMANDS...
Page 2200: ...2200 CHAPTER 142 SSH2 0 CONFIGURATION COMMANDS...
Page 2314: ...2314 CHAPTER 152 NTP CONFIGURATION COMMANDS...
Page 2328: ...2328 CHAPTER 153 RMON CONFIGURATION COMMANDS...
Page 2350: ...2350 CHAPTER 154 SNMP CONFIGURATION COMMANDS...
Page 2368: ...2368 CHAPTER 156 CONFIGURATION FILE MANAGEMENT COMMANDS...
Page 2390: ...2390 CHAPTER 158 FTP CLIENT CONFIGURATION COMMANDS...
Page 2396: ...2396 CHAPTER 159 TFTP CLIENT CONFIGURATION COMMANDS...
Page 2484: ...2484 CHAPTER 165 MAC ADDRESS TABLE MANAGEMENT CONFIGURATION COMMANDS...
Page 2646: ...2646 CHAPTER 174 DIAL PLAN CONFIGURATION COMMANDS...
Page 2710: ...2710 CHAPTER 178 SIP CONFIGURATION COMMANDS...
Page 2720: ...2720 CHAPTER 179 VOFR CONFIGURATION COMMANDS...