Trouble Deleting Some Folders and Files

I run Windows XP and am trying to delete all files from an Iomega Peerless 20 gig removable drive so that I can sell it. I am able to delete a majority of the files but sometimes get an error message saying that I cannot delete the folder because it is not empty.When I go inside the folder to delete the files I can delete some but not all of the files. I have been rununing Norton System Works "wipe info" when I cannot delete some folders and files  using explorer. I have had some success, but am starting to encounter the same problem with the Norton Utility as well.

Are htere some settings that I should be changing so I can get rid of all of the folders and files?

Thanks in advance,
njb
njbAsked:
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.

CrazyOneCommented:
Try this

Start > Run cmd

RD DriveLetter:\TheFolder
CrazyOneCommented:
IF is some files that are being stubborn then

RD DriveLetter:\TheFolder\TheFile
CrazyOneCommented:
DEL RD DriveLetter:\TheFolder\TheFile
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

CrazyOneCommented:
If there is space in the path name than use quotes

DEL DriveLetter:\TheFolder\TheFile

"DriveLetter:\The Folder\The File"

CrazyOneCommented:
Disregard my third comment.
CrazyOneCommented:
Also

Open a CMD.EXE window.
CD to the top of the mess.
Use: DIR /X /A   to see the SHORT FILE NAMES of the files and directories there.
Use a combination of CD, RD, and DEL and the SHORT FILES names reported with DIR /X to delete your way to the bottom and then back up the tree removing the files on the way down and the directories on the way up.
Most likely there is NOT a protection issue here so you shouldn't need worry about ownership or file protections.

RMDIR [/S] [/Q] [drive:]path
RD [/S] [/Q] [drive:]path

   /S      Removes all directories and files in the specified directory
           in addition to the directory itself.  Used to remove a directory
           tree.

   /Q      Quiet mode, do not ask if ok to remove a directory tree with /S


This MS KB article may help

How to Remove Files with Reserved Names in Windows
http://support.microsoft.com/default.aspx?scid=kb;en-us;120716

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
chicagoanCommented:
If I were going to sell the drive, I would "scrub" it.
PGP, killdisk and BC wipe come to mind.
CrazyOneCommented:
You forgot to post the link chicagoan :)

www.killdisk.com
chicagoanCommented:
ty - I thought he had google
CrazyOneCommented:
I know I was playing with you. :)
Adrian DobrotaNetworking EngineerCommented:
njb .... you'll find here a great piece of work on "stubborn" files :
http://www.experts-exchange.com/Operating_Systems/Q_20341983.html
There's no use for me  to paste it, click and you'll find lots of good advices for solving a problem similar to yours.

Kronos
Luc FrankenEMEA Server EngineerCommented:
=>to delete all files from an Iomega Peerless 20 gig removable drive <=
Why not just formatting it??

Go to disk management, right click this drive, and choose format.
Luc FrankenEMEA Server EngineerCommented:
Or if you want to remove everything beond recovery, take a look here: http://dban.sourceforge.net/

LucF
njbAuthor Commented:
I want to thank everyone for their participation, so I split the points.

After trying some of the DOS commands that crazyone recommended, I kept getting error messages saying the file that I was trying to delete was" corrupted" and to "run chkdisk". With that information I ran Norton disk doctor and checked the option of "fixing errors". After it scanned and fixed the errors that it encountered on the drive, I was able to successfully delete the folders and files.

I ran a virus scan as well just to make sure and it came up clean.

The only part that I don't understand is that when I run Norton System Information it shows disk usage of 970MB and the graphic shows a root folder with a red dot in it with a subfolder "Found" There are a bunch of files inside this subfolder with names like "file0000.chk", "file0001.chk", etc up through "file1659.chk". Can someone explain what this might be and should I format the drive to get rid of these things, since they do not show up in explorer, or is leaving them in ok?

Thanks,
njb
Luc FrankenEMEA Server EngineerCommented:
Those are files created by chkdsk, if everything is running fine, you can safely delete them.
CrazyOneCommented:
Those are files that chkdsk created from corupted files. I think there are some bad sectors on this drive. Leaving them is ok but there is no point in it.
njbAuthor Commented:
Thanks:)
njb
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
Storage

From novice to tech pro — start learning today.