deleting file from flash

I'm trying to delete a file from flash and get this message "Can not delete file on the device"

how can i delete this..?

Console> (enable) show flash
-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name
  1 .D ffffffff 5fd7b46a  6431f0   21  6304109 Sep 22 2000 08:01:02 cat6000-sup.
5-5-1.bin
  2 .. ffffffff 1be77d1b  eb54cc   22  8856156 Aug 02 2005 10:25:20 cat6000-sup_
6-3-1a.bin

830260 bytes available (15160524 bytes used)
Console> (enable) delete flash:cat6000-sup.5-5-1.bin
Can not delete file on the device
Console> (enable)
jlymnAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

cmonteithCommented:
the .D tag means the file is "deleted" but recoverable...kind of like the Recycle Bin in Windows.

To get rid of it use the Squeez command (squeeze [m/]device)
:


Console> (enable) aqueeze flash:cat6000-sup.5-5-1.bin
cmonteithCommented:
oops.....got too cut/paste happy....

the command doesn't include the filename...your purging the device (will nuke any .D'd files)

Console> (enable) aqueeze flash:
jlymnAuthor Commented:
this is the error message i get when i try...

Squeeze device flash failed (unknown device)
jlymnAuthor Commented:
Console> (enable) show flash
-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name
  1 .D ffffffff 5fd7b46a  6431f0   21  6304109 Sep 22 2000 08:01:02 cat6000-sup.
5-5-1.bin
  2 .. ffffffff 1be77d1b  eb54cc   22  8856156 Aug 02 2005 10:25:20 cat6000-sup_
6-3-1a.bin

830260 bytes available (15160524 bytes used)
Console> (enable) squeeze flash:

All deleted files will be removed, proceed (y/n) [n]? y

Squeeze operation may take a while, proceed (y/n) [n]? y

Squeeze device flash failed (unknown device)
Console> (enable)
cmonteithCommented:
Hmm....

do a "show disk0: " or "show slot0: "

does the file contents show up with either of those commands?

Try the sweeze command using "squeeze slot0: " (or disk0: ) and see if the switch is seeing it as that instead....  I've ran into that before.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.