cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
992
Views
5
Helpful
2
Replies

Cannot delete folder with special characters

Frank Hansen
Level 1
Level 1

By mistake, I renamed config.text in ROMMON, so that it is now showing up like this:

 

2  -rwx        7061   Jun 2 2017 13:06:53 +00:00  config.text.old^[[D^[^[[C^[[C^[[C^[[C^[[C^[old

 

I've tried deleting using:

delete /recursive /force flash:config.text.old^[[D^[^[[C^[[C^[[C^[[C^[[C^[old

-shows no error

delete /recursive /force "flash:config.text.old^[[D^[^[[C^[[C^[[C^[[C^[[C^[old"

-shows no error

 

How am I able to remove this file, that I stupidly messed up? And how it happended: I was renaming file, because I needed to reset switch. When I renamed, I wrote incorrect, and used arrow left and backspace, thus creating space between name. I thought that moving curser forward and backspacing back and enter the whished for name, would "save" me :( Doh.

 

1 Accepted Solution

Accepted Solutions

Seb Rupik
VIP Alumni
VIP Alumni

What about:

delete flash:config.text.old*

View solution in original post

2 Replies 2

Seb Rupik
VIP Alumni
VIP Alumni

What about:

delete flash:config.text.old*

Worked like a charm. Thankz.

 

Br

 

Frank

Review Cisco Networking for a $25 gift card