Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 808
  • Last Modified:

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
0
njb
Asked:
njb
  • 9
  • 3
  • 2
  • +2
4 Solutions
 
CrazyOneCommented:
Try this

Start > Run cmd

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

RD DriveLetter:\TheFolder\TheFile
0
 
CrazyOneCommented:
DEL RD DriveLetter:\TheFolder\TheFile
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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

DEL DriveLetter:\TheFolder\TheFile

"DriveLetter:\The Folder\The File"

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

www.killdisk.com
0
 
chicagoanCommented:
ty - I thought he had google
0
 
CrazyOneCommented:
I know I was playing with you. :)
0
 
kronostmCommented:
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
0
 
LucFCommented:
=>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.
0
 
LucFCommented:
Or if you want to remove everything beond recovery, take a look here: http://dban.sourceforge.net/

LucF
0
 
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
0
 
LucFCommented:
Those are files created by chkdsk, if everything is running fine, you can safely delete them.
0
 
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.
0
 
njbAuthor Commented:
Thanks:)
njb
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 9
  • 3
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now