cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3825
Views
16
Helpful
7
Replies

Delete file with space character

julijana.simic1
Level 1
Level 1

Hi,
I want to delete some files from router flash: 
But filename have space character... Exemple: flash:New folder
Does someone have a idea what I can do?

Thank you for your help

1 Accepted Solution

Accepted Solutions

Peter Paluch
Cisco Employee
Cisco Employee

Julijana,

Try enclosing the file name into quotes:

delete flash:"Some File Name"

Best regards,
Peter

View solution in original post

7 Replies 7

Peter Paluch
Cisco Employee
Cisco Employee

Julijana,

Try enclosing the file name into quotes:

delete flash:"Some File Name"

Best regards,
Peter

Dear Peter,


I tried and this is message:
% Invalid input detected at '^' marker.

Best regards,

Julijana

Dear Julijana,

Okay, please give this another try - this worked for me:

delete "flash:Some File Name"

Best regards,
Peter

Dear Peter, 

I have done with this delete /force /recursive flash:[First word of File Name]*
Example: delete /force /recursive flash:New*

Thank you I really appreciate your help.

Best regards,

Julijana

Julijana,

I wasn't much of a help but I am glad you got your issue solved :)

Best regards,
Peter

This solved my issue.

 

thanks

This worked for me! Thank you