Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > Other Forums > Personal Computer Forum

Notices

Personal Computer Forum Discussions & articles about how to get the most out of your home or office PC. This includes buying and setting up a new PC, Hardware and Software issues, Security and Networking.

Reply
 
LinkBack Thread Tools
  #1  
Old 12-18-2006, 02:08 PM
Private
 
Join Date: Dec 2006
Location: Canada
Posts: 3
Red face Unable to delete folder

I am having a problem deleting a folder. It keeps giving me the error, not assocated with anything, and will not let me delete it. I tried force deleting, rebooting in safe mode, DOS mode, debugging mode. I tried deleting it in DOS too. There is no association in the register either! Can some please tell me how to get rid of this file. It is a save folder from an old Starcraft game. HELP !!!! Oh also there are no files in the folder, no hidden, system, etc.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 04-05-2007, 12:21 PM
Mook25's Avatar
Brigadier General
 
Join Date: Oct 2005
Location: UK
Posts: 1,447
Default Re: Unable to delete folder

Just found this, i don't know if it's of any use to you.

Quote:
Cannot delete file or folder
Sometimes a file cannot be deleted or a folder removed because Windows says it's open by another program.
Method 1

Reboot and try again.
Method 2

/* /*]]>*/
Open a command line window (WindowsKey + R, enter: cmd). Move to the folder in question by means of CD commands like CD \ and CD foldername.
Delete the file or folder by using the DEL command to delete files or the RMDIR (remove directory) command to remove directories (folders).
Method 3

If this, on its own, is still not enough, then open Task Manager (Ctrl + Shift + Esc) and kill all explorer.exe tasks. Your desktop will go blank, except for the windows already open.

Now try to delete the offending file by means of the DEL command, or folder by means of the RMDIR (remove directory) command, in the command line window, as described above.
After that, in the command line window enter:
explorer
to restart your desktop. If you closed the command line window, you can still restart explorer by opening the Task Manager by holding down the Ctrl and Shift keys and briefly pressing the Esc key. In Task Manager select Applications, New Task and enter: explorer
Method 4

If the previous method fails, particularly with multimedia files, log off, then log on again, but do not select the file in Windows Explorer. The safest way is not to open Windows Explorer in the first place.
Then try the previous method again.
Method 5

An even stronger measure would be to reboot, then try the previous methods again. This would work, for example, if a service has the file open.
Method 6

(Thanks to John Barrington.)
If you can't delete a problem file, try deleting the folder that contains the problem file. If this doesn't work, try this next item.
If the problem file and its folder, we'll call (A), is within another folder, we'll call (B), try to delete the folder (B) along with any troublesome contents.
Of course, you want to make sure, if you have any other important files or folders within either folder, that they are saved in another location first.
Method 7

Begin like the previous method, but try also
rmdir foldername /s
(replace foldername with the name of the folder to be deleted). This command should delete a folder with all its subfolders.
If the folder name contains one or more spaces, enclose it in quotes. Example:
rmdir "folder name" /s
Method 8

If the folder name contains strange characters, use a command line window again, but use the DIR /X command to find the short name (for example: PROGRA~1) and use the short name instead. The short name is DOS compatible and has no more than 8 characters for the main name, a period, then no more than 3 characters for the extension.
Retry the previous methods that use a command line window, but use the short name now.
Note: Sometimes an illegal file name can cause Windows Explorer to use nearly 100% of the CPU time.
Method 9

Boot into safe mode and try to delete the file or folder there.
Method 10

If you're trying to delete a program file, like one with the extension .exe, the cause could be that the program is currently running. Stop it, then delete the file.
If the program starts automatically, check the article Autorun causes on how to remove the start command. Do it, reboot, then delete the file.
Method 11

If this also doesn't work, there is a way to rename a file or folder during the boot process. For this you need to use the registry editor REGEDIT.EXE. See WxRegistryWarning.htm for a general warning.

Create an entry in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Sessio n Manager\

named PendingFileRenameOperations of type REG_MULTI_SZ. In pre-XP Windows versions you have to use REGEDT32.EXE to create this value type.

The first line of each pair is the current file or folder path and name with \??\ in front of it.
The second line of each pair is the new file or folder path and name with !\??\ in front of it.

Example for one pair which moves the file mfc42.dll from the temp folder to the system32 folder and overwrites any existing file at the destination:
\??\C:\TEMP\mfc42.dll
!\??\C:\WINDOWS\system32\mfc42.dll

You can add as many pairs as you like. The move operation is performed directly after the next reboot. You can also give folder paths, so the folder will be renamed. But both paths have to be local.

There is a Windows API call for this, named MoveFileEx, and somebody in Germany has even written a utility named MoveEx for it. You can download it from http://wwwthep.physik.uni-mainz.de/~frink/nt.html. Use it if you need this function often. A Posix utility from a Windows Resource Kit named mv.exe also does it, just in case you still have the resource kit around.
Method 12

Boot into another operating system to delete the file from there. The other operating system can be, for example, another installation of Windows, BartPE, Knoppix, or any operating system that can read the file system used (NTFS or FAT32).
Method 13

Remove the hard disk from the computer and connect it to another computer. Delete the files or folders there.
Method 14

If you cannot delete a file or folder because it is in use, you can use one of the mostly free utilities, such as Unlocker
__________________
Voda Picks >> Prices| Tutorials | BV Download | FAQ | Your First Webpage


Want a banner like above? Contact me here with details.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 05-22-2007, 12:48 PM
djigivara's Avatar
Sergeant
 
Join Date: Apr 2007
Location: France
Posts: 25
Arrow Re: Unable to delete folder

Quote:
Originally Posted by cawpei
I am having a problem deleting a folder. It keeps giving me the error, not assocated with anything, and will not let me delete it. I tried force deleting, rebooting in safe mode, DOS mode, debugging mode. I tried deleting it in DOS too. There is no association in the register either! Can some please tell me how to get rid of this file. It is a save folder from an old Starcraft game. HELP !!!! Oh also there are no files in the folder, no hidden, system, etc.
Hi
Try DELTREE DOS COMMAND !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 05-23-2007, 07:29 PM
Watdaflip's Avatar
Brigadier General
 
Join Date: Sep 2005
Location: Cincinnati, Ohio
Posts: 1,638
Default Re: Unable to delete folder

Quote:
Originally Posted by djigivara
Hi
Try DELTREE DOS COMMAND !
yeah well make sure your in the right directory before using that command
__________________

Register/Login Script
Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 04:42 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176