Problem Deleting Empty Folder In Win XP - why you can not delete an empty folder?

Pages: 1, 2
free web hosting

Read Latest Entries..: (Post #13) by iGuest on May 12 2008, 10:50 AM. (Line Breaks Removed)
Unlocker Problem Deleting Empty Folder In Win XP Thank you very very much bcz you sole my problem last three days I try to delete the folder through dos and other tackticks but not avail but through your unlocker I able to delete the folder thanks again...-reply by Waseem
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Free Web Hosting > Computers & Tech > Operating Systems > Windows (All Versions)

Problem Deleting Empty Folder In Win XP - why you can not delete an empty folder?

victorhu
It happened to me several times. When a folder is already empty, but still can't delete it.
Which says something about other user is using it. Yet I am the only user on my PC.
Anyone knows why is it? And how to deal with it?

Reply

kaputnik
QUOTE(victorhu @ Feb 27 2006, 11:25 AM) *

It happened to me several times. When a folder is already empty, but still can't delete it.
Which says something about other user is using it. Yet I am the only user on my PC.
Anyone knows why is it? And how to deal with it?


1. Sometimes after you delete stuff from a folder, and you were using a program or file from the folder before deleting the file/program, during use, the program would have paged the memory and put a process in queue.. now although you have seen the file and/or run the program you just feleted from the folder, the memory still has a process in que and if the process refers to the folder where you've deleted the fole/program from, then the OS will not allow you to delete the folder.

Solution, wait for a while (if you're running on a low amount or RAM reboot) and then delete the foder.

2. You have a hidden file in the folder that is being paged and is queued in a process. Unhide all folder contents. Delete any hidden folders (as long as they are not system critical), refresh the folder and then delete it.

3. You have some sort of malacious ware/file that is running from the folder location and is hidden; or the folder is being used as a location by some program to briefly store temp files. Since the folder is locked for use, you need to kill any process that may be using the folder before you can delete the folder.

Solution, reboot your comp in safe mode (press F8 to start in safe mode) and delete the folder. (Safe mode allows only essential processess to run).

Hope this helps..!!

 

 

 


Reply

jlhaslip
google on "deletedr". It does a good job for files. I have never had to use it on folders, so I can't say for certain that it would work, but worth a try. Freeware.

Reply

victorhu
smile.gif thanks for help!

Well, I am not a totally windows dummy. I know basic tips or tricks about XP.

1. sometime windows preview would make some video files or graphic files cannot be deleted
but what about an empty folder which all files removes or deleted. What process would still
there for an empty folder. Maybe winXp just stupid about that? tongue.gif

2. I always show all hidden and system files, so there are no hidden files left.

3. No suspicious process found.

Ofcause I can delete it in safe mode. I just wonder is this a flaw of WinXP?

QUOTE(jlhaslip @ Feb 27 2006, 01:18 AM) *

google on "deletedr". It does a good job for files. I have never had to use it on folders, so I can't say for certain that it would work, but worth a try. Freeware.


Do you mean the DELETE DOCTOR?
Is this program delete files by scheduling them for deletion upon system restart?
There is no much infomation about it on their website.
Hmm, if there are better ways, I prefer not use unknown or immature programs.

Reply

jedipi
Try Unlocker..
It will unlock the files or folders which locked by windows.

Windows may locks the file or folder when there has been
a sharing violation, or file may be in use by user or other
program.

By using Unlocker, you just simply right click the folder
or file and select Unlocker. It will give you a list of process
which is using the file/folder. Then you can unlock it.

the lastest version Unlocker is 1.8.0 and it can be downloaded
here:
http://ccollomb.free.fr/unlocker

screenshot:
IPB Image

Reply

xboxrulz
quite funny, as I am a Linux user and a former Windows user. Actually, I do own a copy of Windoze XP, and I use it for gaming, but I never experienced such drawback.

Have you tried to delete the folder as the Administrator?

xboxrulz

Reply

valcarni
this is the best way to fix this situation... get a program like ztree gold... then go into that directory.. there may be still files in there... if there is delete them... some files u may not be able to delete.. .and you'll need a special program to delete them... cause some files have weird names and don't use proper letters and it says the file isn't there when it is. if there is no files in the directory... then that means there is only one reason left and that is your memory.

your memory holds onto files when they load up and usually release them afterwards.. sometimes things do stuff up.. the best bet is turn your computer off for 2 minutes (so the memory does clear properly) and then reboot your computer... you should definately then be able to remove your directory.

I hope this information helps you with your worries.

Reply

XIII
QUOTE(kaputnik @ Feb 27 2006, 03:18 PM) *

Solution, reboot your comp in safe mode (press F8 to start in safe mode) and delete the folder. (Safe mode allows only essential processess to run).

Hope this helps..!!


that's not a wise solution as everytime i need to delete a folder and it doesn't want to be deleted to restart my pc to force it to death smile.gif

when i was using windows XP so much i was facing this kind of problems so much, there is always a good solution for things such like these, is to use the terminal, which in this case is cmd, cmd stands for Command Prompt, you can open it by:

1- click start button "this boring one that has microsoft logo on it dry.gif "
2- click run
3- in the run window type cmd and press enter
4- in the new black window "command prompt window" get into the folder location
example: consider this folder on ' D ' partition on your pc in 'games' folder on that partition and called 'cs'
type---->>d: then enter then type---->>cd games then enter now you are in smile.gif
5- type---->>del cs
now it has been done, without restarting or using any program or anything else than using windows itself.

this is a solution for your problem, but the best final solution is to uninstall windows xp and setup any distro you may like of linux biggrin.gif

Reply

Opethian
Unlocker as stated above has been effective for me 95% of the time. It's one of those annoying bugs that I didn't experience in Windows 2000.

Reply

mastercomputers
It could be due to it being locked, but I feel the real reason is because it's corrupted, which happens quite often. It's probably sitting on unreadable sectors at the moment making it impossible for you to do those commands.

I'll list the easy things you can perform first.

Rename the folder, then delete.

Set all folder attributes to off, then delete.

Cutting it and pasting it in another location, then removing it.

Open up command prompt, browse to the parent folder that it is in e.g. cd "c:\program files\", and then del foldername.

Those would be the easy things to perform before suggesting booting into safe mode and trying to do the same, but first just attempting a normal delete.

It could also be because you are not allowed permission to perform that because you are not part of the folders permission, if you're an administrator you will just add yourself to the ownership group and then delete it.


Cheers,


MC

Reply

Latest Entries

iGuest
Unlocker
Problem Deleting Empty Folder In Win XP

Thank you very very much bcz you sole my problem last three days I try to delete the folder through dos and other tackticks but not avail but through your unlocker I able to delete the folder thanks again...

-reply by Waseem

Reply

iGuest
Replying to XIII
What happens when using CMD does not work. I am getting the ereor message "the directory is not empty". I used CMD prompt and it did not delete it. I typed del then the file name, it says are you sure y/and I hit y and enter iut says it deleted it but then I type DIR and it is still there.

-reply by jordan

---- admin reply -----

Command "rd" or "rmdir" Removes (deletes) a directory.

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

Example:-

c:\>rd /s c:\my_work\pendingWork

WHERE "pendingWork" is name of a sub-folder under folder "my_work".

Reply

iGuest
Unlocker works super!
Problem Deleting Empty Folder In Win XP

Replying to mastercomputersReplying to Opethian

Unlocker works great on my laptop >_<!!

I really do recommend all of you with the same problem.

Moreover, we can see if what Mal-ware is accessing the folders (if exist)...

Thx yo!

-reply by martin

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Similar Topics

Keywords : problem, deleting, empty, folder, windowsxp, delete, empty, folder

  1. Windows Xp Says That Folder Is Empty And Inaccessible While It Isn't...
    (4)
  2. How To Create An Invisible Folder In Windows Xp
    You can hide your files in a folder no one else can see! (5)
    How To Create A Invisible Folder in Windows XP First off, go to your desktop and
    right click -> go down to new -> (and select) folder Now, right click the folder and go down
    and click rename And press delete (to remove the name of the folder), then press the following
    buttons: - While holding alt, press (on the numberpad, or else it won't work), 255 and then
    release alt and press enter. Now the folder shouldn't have a name(as in the picture below)...
    -- if this isn't the case and you get an odd character(symbol) then do the sa....
  3. Q: How Can I Delete Installation Entries?
    entries installed from a .msi file (8)
    I'm wondering.... How can I delete installation entries? QUOTE To tell you all the truth, I
    already know how to hide installation entries 90%, I just use the CCleaner! But the problem
    is...I can't use the the CCleaner to delete .msi installation entries! How? Or tell me if
    entries installed from .msi files just can't be deleted. Note: QUOTE (.msi) files are
    Windows Installation Packages. Just download a .msi file and see it for yourself! ....
  4. Folder Of Frontpage?
    Found A Folder (8)
    I got microsoft xp pro about 2 months ago and installed it then 3 days ago i noticed a folder called
    microsoft fronpage even though i never installed it. it contained one folder called version3.0 which
    contained a folder called bin which contained nothing. Can anybody explain this to me. N.B. I also
    looked at my mates computer and it had it also and he never installed frontpage /ohmy.gif"
    style="vertical-align:middle" emoid=":o" border="0" alt="ohmy.gif" />....
  5. How To Delete A Service
    (10)
    Hi, does anybody knows how to delete a service from the system??? that's it, deletes it from the
    services management console and from the device manager, especially those left behind by software or
    hardware uninstallation. Best regards,....
  6. Deleting A Corrupt File
    Cannot delete a corrupt file on Windows XP... (25)
    I was upgrading some software and came across a corrupt file that halted the installation process. I
    went to see what was wrong with the file, and failed to manually delete it. I tried moving
    (cut&paste) it to another location, and the installation succeeded. However, the file is still on my
    drive, taking up a KB of space. I know that's not a lot, but where am I supposed to put it? In a
    folder created especially for all the corrupt files on my computer? /blink.gif"
    style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> I've heard
    something....
  7. Change Ie Favorites Folder?
    (2)
    I need to change the internet Explorer favorites folder on a Windows XP machine. In the past I have
    used TweekUI. One small problem, I don’t have administrator right on the machine. I figure that
    there is a registry key that holds this information I just can’t find it. I have Googled on the
    subject but I only get references to TweekUI. Any suggestions?....
  8. Folder Without A Name ...
    Trick :D (25)
    hei guys do u know how to make a folder without any name /biggrin.gif"
    style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> ye try this and tell me if
    its working or not /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0"
    alt="biggrin.gif" /> right click->make new folder->use backspace to remove the name ->press
    alt+255.-->press enter. use number keys which are on right side of keyboard.....
  9. Windows XP Folder Encryption Key ?
    Where is the Windows XP encryption Key saved. (13)
    Does any one know where is the encryption key in Windows XP stored. In other words how can one get
    encryption key. Or how to retrive the data without the encrytion key. By encrypting a file or
    folder, we are converting it to a format that can't be read by other people. A file encryption
    key is added to files or folders that you choose to encrypt. This key is needed to read the file.
    ....
  10. Can You Create A Folder Name "con"
    Is it possible to create a folder named "CON" in Windows? (17)
    I tried in both Windows XP Home and Professional. If you try to make a folder named "CON" Windows XP
    renames it back to what it was. So creating a new folder with the name "CON" just renames it to "New
    Folder". The bug seems like a variable that got treated as a string or vice-versa. Trying to create
    the folder from a cmd prompt failed with an error "The directory name is invalid.". This also works
    when you try to create a file called "CON", or "CON.". ".CON" shows up the way it should. Somewhere
    I found the reason that CON stands for CONsole which is device name but....
  11. Help: Adding My Videos Folder To Start Menu
    Windows XP Only (10)
    Okay, I am halfway to being able to add the My Videos Folder (the only of the special My folder I
    really use) to the start panel. For those of you who don't know what I am talking about, make
    sure you have the new XP start menu not classic, then open your start menu. The right side is the
    start panel, and it should have links to things like My Documents, My Music, My Computer, etc. The
    only one you can't add to it (you add features to it from the properties page) is the My Videos
    File. No, my method: 1) Knowing Windows as well as I do, first thing after ex....
  12. A Problem In Changing Folder Name!
    See & Try to do it... (4)
    it is a wonderful problem that made Microsoft experts and even Bill Gates wondered...! and they
    dont know why & how it has happened. this problem is in changing folders name. you cant change your
    folder name to " con " right click on your folder and press rename then write "con" and enter. it
    doesn't change!! it is similar to " nul " too. try it! maybe you'll be
    succeed! please tell me if you did it.....
  13. Folder Trick
    (3)
    Taken from multiple posts at http://forums.bizhat.com/post-134187.html . QUOTE This is for
    the people who dont know this trick To Hide ===== Make a folder (eg:c:\test) run command
    prompt Go to the folder location (eg: C:\) type the following: attrib test +s +h to view it
    ====== run command prompt go to the location (C:\) type the following: attrib test -s -h
    Another Way: just go to command prompt from start->run->command. go to the desired folder, (not
    inside it). type ren (folder name) alt+(any combination of number) and press enter. e....
  14. How Can I Delete Old Files In Windows Xp ?
    HELP!!! (20)
    I've just reinstall my system. But I can't delete old profiles in C:\Documents and
    Settings . I have the Admin right, of course. But... the system don't allow me to delete
    the files. I need to free up some space on my hard disk. (That folder's size is up to 12GB)....
  15. Easy Folder Management In Windows Xp
    Easy Folder Management (1)
    In your "All Programs" menu maybe full of Folder and programs. This may help to manage yours. In
    your All Programs, you can "right click" and "open" or "explore". It will bring up a pop-up windows
    which you can make new folder or delete the repeated name of programs. Such as : Microsoft Office,
    after you installed, you will see that there is no folder for them and they are scattered in your
    menu. So, you can make a new folder name "Microsoft Office" and drag those file to them. For me, I
    make folders as Categories such as Graphics, Multimedia, Entertainment or Game....
  16. How To Delete Files And Folders Directly
    (10)
    How to delete files and folders without having them move to Recycle Bin 1- Click Start menu > Run
    > and type “gpedit.msc” (without quotes ) to run Group Policy 2- Go to following : User
    Configuration > Administrative Templates > Windows Components > Windows Explorer 3- In right panel,
    find “Do not move deleted files to the Recycle Bin”, right click and select Properties, in dialog
    box select Enable check box 4- Click ok and exit Group Policy To disable confirmation dialog box
    when deleting files, go to following : User Configuration > Administrative Templates > Windo....
  17. Increase Windows Xp Explorer Folder Cache
    (1)
    How to increase Windows XP Explorer folder cache Windows Explorer cache about 400 folders by
    default, but you can increase folders cache, for this 1- click Start menu > Run > and type
    “regedit” ( without quote) to run Windows Registry Editor 2- find and go to following key
    HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam 3- Change the value of
    BagMRU to whatever size you want ( in hexadecimal ) For example: 1000 - 3e8 2000 - 7d0 3000 - bb8
    4000 - fa0 5000 – 1388 --------------- Displaying Hidden Devices To showing hidden devices in ....
  18. Restore Windows File And Folder Protection
    (4)
    Restore Windows File And Folder Protection Windows XP offers many new and more effective features
    to protect your system. For example, Windows hides files and folders stored on Windows, Program
    files and system directory to protect them from being changed or deleted. When you want to open
    system folders for first time, windows displays below screen These Files Are Hidden This folder
    contains files that keep your system working properly. You should not modify its contents Show the
    contents of this folder If you click on “Show the contents of this folder” in left p....
  19. Delete Any File On Xp
    (18)
    Many a times when we try to delete a file Windows show an error that the file is being used or some
    other message and we are unable to delete it. This often happens when the file is infected. Here is
    a way to delete any file: Go to Start>>Run>>cmd Type in the path where the file is located (eg. "cd
    c:\temp" ), don’t close this window Press ctrl + alt + del In processes panel close
    "Explorer.exe" (you would see that taskbar disappears), dont close the window In the command screen
    delete the file ( del filename ) In the task manager click File >> New task >> Explorer....
  20. Windows Longhorn
    -=Empty post =- (5)
    DELETED CONTENT, DON'T PROMOTE OR ASK FOR WAREZ. btw if you look back to see what happened
    here, no CAPS LOCKS while posting it's considered rude and shouting Edited by Nils....
  21. select background picture for your favorite folder
    (0)
    How to select background picture for your favorite folder. Just as you know, you can set background
    for folders from "view > Customize this folder" on Win98/Me . But, how we can set background for
    folders on WinXp ? For this, run Notepad and type below text:
    {BE098140-A513-11D0-A3A4-00C04FD706EC}={BE098140-A513-11D0-A3A4-00C04FD706EC} IconArea_Image="
    The Address Of Picture Goes Here " IconArea_Text=" Color Of Texts Goes Here (e.g: 0x00FFFFFF) "
    ConfirmFileOp=0 And, finally save as desktop.ini Note that *.bmp,*.gif,*.jpg are supported....
  22. create a folder without any name
    (7)
    Do you know, how can create a folder without any name!? When you create or rename a folder do
    following: press " Alt " and type 255 and then press Enter. be successful !....

    1. Looking for problem, deleting, empty, folder, windowsxp, delete, empty, folder

Searching Video's for problem, deleting, empty, folder, windowsxp, delete, empty, folder
advertisement




Problem Deleting Empty Folder In Win XP - why you can not delete an empty folder?



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE