Cannot remove folder the directory is not empty

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Rory Jakes (roryjakes_at_yahoo.com)
Date: 10/30/04


Date: 29 Oct 2004 17:41:30 -0700

I have tried to delete (remove) 3 empty folders from my SanDisk flash
memory disk to no avail. I have used cmd.exe and tried rd and rmdir
with /s and /q switches - did not work. I can create or delete other
directories, but not these 3. I can rename them. I can move them to to
other locations. But I CANNOT remove them. I have tried a couple
shareware programs and those did not work. I can right-click and
select properties. There are no files in any of the folders. One
folder is a sub-folder of another folder. I cannot remove either one.
A third folder is by itself. Can't remove him either.

Thank you,
Rory Jakes
roryjakes@yahoo.com



Relevant Pages

  • Re: Delete folder
    ... If the directory is empty then RmDir works fine. ... If the directory has files then you need to Kill all ... The API has it is own error handling. ... > Is there any built-in function in VB6 that allows me to delete a folder on ...
    (microsoft.public.vb.general.discussion)
  • Re: Batch file executed at startup
    ... > You cannot use rmdir to delete the current directory. ... > Kill explorer.exe and use the command prompt to delete the folder. ... I can't close explorer as then I want have ...
    (microsoft.public.windowsxp.customize)
  • Re: Unable to remove directory
    ... if I use rmdir or rm -f -r I get the message that the file or directory ... window. ... folder on an xfs server. ...
    (Ubuntu)
  • Re: How to delete directory?
    ... RmDir Statement: ... Removes an existing directory or folder. ... Use the Kill statement to delete all files before ... 'Assume TESTFILE is a file containing some data. ...
    (microsoft.public.vb.general.discussion)
  • Re: Help: Why dont SUBs execute instantly?
    ... RmDir Statement: Removes an existing directory or folder. ... The required path argument is a string expression that identifies the ...
    (comp.lang.basic.visual.misc)