I try to delete the flash /force, but it errors out. How can I delete it?

Answered Question
May 20th, 2009
User Badges:

I noticed that it states the respective flash I want to delete is 'a directory'. Do you know the syntax to delete it then? I tried to use the one below but it does not work.


Directory of flash:/


2 -rwx 736 Mar 16 1993 00:44:01 +00:00 vlan.dat

3 -rwx 1915 Mar 1 1993 14:27:30 +00:00 private-config.text

4 -rwx 4272 Mar 1 1993 14:27:30 +00:00 config.text

5 -rwx 8055039 Mar 1 1993 00:15:46 +00:00 c2960-lanbasek9-mz.122-50. SE1.bin

6 -rwx 2072 Mar 1 1993 14:27:30 +00:00 multiple-fs

7 drwx 192 Mar 1 1993 00:06:55 +00:00 c2960-lanbase-mz.122-35.SE 5


32514048 bytes total (16114176 bytes free)

sw1#del /force flash:c2960-lanbase-mz.122-35.SE5

%Error deleting flash:c2960-lanbase-mz.122-35.SE5 (Is a directory)

Correct Answer by jpoplawski about 8 years 2 months ago

Try this:

del /f /r flash:/c2960-lanbase-mz.122-35.SE5


Typically when I get a box, I del /r /f flash:* and then upload the latest image.


Hope this helps, rate if it does.

JB

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
jpoplawski Wed, 05/20/2009 - 07:37
User Badges:
  • Bronze, 100 points or more

Try this:

del /f /r flash:/c2960-lanbase-mz.122-35.SE5


Typically when I get a box, I del /r /f flash:* and then upload the latest image.


Hope this helps, rate if it does.

JB

jpoplawski Wed, 05/20/2009 - 07:37
User Badges:
  • Bronze, 100 points or more

Try this:

del /f /r flash:/c2960-lanbase-mz.122-35.SE5


Typically when I get a box, I del /r /f flash:* and then upload the latest image.


Hope this helps, rate if it does.

JB

Actions

This Discussion