Windows Server 2008 R2 Thread, Unable to delete folder and files in Technical; I have several folders and files I can't delete
Some clearly have a space before the name e.g. " my ...
31st July 2010, 11:28 AM #1
Unable to delete folder and files
I have several folders and files I can't delete
Some clearly have a space before the name e.g. " my ecv" (I don't know if there are trailing spaces)
Some just come up with "could not find this item - then the location" - Verify the Item's location and try again.
Thanks for any help and advice.
IDG Tech News
31st July 2010, 11:41 AM #2
31st July 2010, 11:59 AM #3
Originally Posted by kmount
D:\to_delete\To sort\Problem Areas\old to delete\x-brodier\ my ecv
is one of them - I've renamed some of the directories as you can see - but can't move the rest.
31st July 2010, 12:01 PM #4
Hm.. used to see this when it was a very deep path but that's not very deep.
Have you tried via a command prompt?
31st July 2010, 12:04 PM #5
Hi - tried via command prompt - making a share and accessing it that way. Renaming....it just wont go!
31st July 2010, 12:06 PM #6
I've also found turning an upper folder into a share and deleting remotely works as well.
31st July 2010, 12:31 PM #7
Tried that - no luck
31st July 2010, 12:55 PM #8
I have got rid of a couple of dodgy files with del "\\?\PATHTO FILE" but it isn't working for folders - one claims to be empty but has a system file in place
31st July 2010, 01:06 PM #9
is it worth booting off say barts pe and trying that?
31st July 2010, 01:17 PM #10
delinvfile or similar would do the job, you can download a working trial.
31st July 2010, 04:28 PM #11
Also try dir /x to see what windows is using for the short name, you may be able to rename from command line with that instead. Also rmdir /s with the absolute (\\?\) path (short name) may work for the folder.
2nd August 2010, 12:17 PM #12
Turn on hidden files and check there nothing there. Also check that you have full control over all the files in the directory (if there are any).
In the past Ive had problems with odd Java files in users profile folder where only the user has ad access. I've had to manually take owernership, give myself permission to delete then delete them.
2nd August 2010, 12:52 PM #13
I've only tried this on a workstation and never on a server level. My first instinct would be to turn towards a Linux distro CD and booting off from that to delete the stubborn files. Then again, will it recognise the drives as seperate partitions considering they're raided..?
3rd January 2012, 10:46 PM #14
- Rep Power
Thanks for this suggestion. I was unable to delete some OLD files (I dare say DOS old, but who knows.) They had 8 character names in caps ending with periods and no file extensions.
Originally Posted by DMcCoy
Doing the dir /x gave me the old style name (i.e. ABCDEF~1) and I could delete them command line using that syntax.
4th January 2012, 10:34 AM #15
could you try deleting via 7zip or unstoppable copy?
By MicrodigitUK in forum Scripts
Last Post: 29th January 2009, 01:43 PM
By JPhillips173 in forum Scripts
Last Post: 17th April 2008, 12:25 PM
Last Post: 18th January 2008, 02:46 PM
By secman in forum Windows
Last Post: 5th October 2006, 12:48 PM
By OutToLunch in forum Scripts
Last Post: 25th September 2006, 01:27 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)