cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
442
Views
0
Helpful
2
Replies

How to delete a directory with "space" character

devinliu1991
Level 1
Level 1

We have a 2900 router that contains a directory with "space" characters in it in the flash.

Directory of flash0:/

...
260 drw- 0 Dec 4 2014 22:07:00 +08:00 CME_GUI_10.5
308 -rw- 40239440 Dec 21 2015 21:28:28 +08:00 rootfs78xx.11-0-1-11.sbn
280 drw- 0 Dec 4 2014 22:28:06 +08:00 CME 10.5.0 GUI
...

I've tried to delete with the cli "delete flash0:/CME 10.5.0 GUI", but it doesn't work.

Does anyone know how to deal with it?

THX

2 Replies 2

dgaviuc
Cisco Employee
Cisco Employee

Hi,

try delete flash0:/CME\ 10.5.0\ GUI

Thanks dgviuc, but it still doesn't work. The router just treats the space character as the end of a string.

xxxx#delete flash0:/CME\ 10.5.0\ GUI
                                          ^
% Invalid input detected at '^' marker.

Review Cisco Networking products for a $25 gift card