A-23
Catalyst 2350 Switch Command Reference
OL-19055-01
Appendix A Catalyst 2350 Switch Boot Loader Commands
rmdir
rmdir
Use the
rmdir
boot loader command to remove one or more empty directories from the specified file
system.
rmdir
filesystem
:/
directory-url ...
Syntax Description
Command Modes
Boot loader
Command History
Usage Guidelines
Directory names are case sensitive and limited to 45 characters between the slashes (/); the name cannot
contain control characters, spaces, deletes, slashes, quotes, semicolons, or colons.
Before removing a directory, you must first delete all the files in the directory.
The switch prompts you for confirmation before deleting each directory.
Examples
This example shows how to remove a directory:
switch:
rmdir flash:Test
You can verify that the directory was deleted by entering the
dir
filesystem
:
boot loader command.
Related Commands
filesystem
:
Alias for a flash file system. Use
flash:
for the system board flash device.
/
directory-url
Path (directory) and name of the empty directories to remove. Separate each
directory name with a space.
Release
Modification
12.2(46)EY
This command was introduced.
Command
Description
dir
Displays a list of files and directories on the specified file system.
mkdir
Creates one or more new directories on the specified file system.