
Managing a DOS File System
114088 Rev. A 5-3
The sections that follow describe the commands in detail. They also show how to
use the wildcards.
Naming Files and Directories
The rules for naming files and directories are as follows:
• Filenames and directory names must start with an alphabetical character. The
remaining characters must be alphanumeric, and may also include the
underscore (_) character. Spaces are not allowed.
• DOS directory names and filenames can consist of one to eight characters.
Table 5-1. DOS File Management Commands
Command Wildcard Function
attr
✔
Changes file attributes.
copy ✔
Copies a file from one directory to another or to the same
directory.
cd
Changes the present working directory.
delete ✔
Deletes a file.
dir ✔
Displays all files in a directory.
label
Changes the internal label of the diskette.
mkdir
Creates a directory.
mount
Makes the diskette drive available.
rename ✔
Renames file and directories.
rmdir
Removes a directory.
save
Saves the current software configuration, aliases, or
events to a file. Refer to Chapter 6, 7, or 9 for instructions
on the save command.
tftp
Transfers a file to or from the router.
type ✔
Displays the contents of a file in ASCII or hexadecimal
format.
unmount
Makes the diskette drive unavailable.
Commentaires sur ces manuels