jgcracknell Posted July 31, 2010 Posted July 31, 2010 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.
jgcracknell Posted July 31, 2010 Author Posted July 31, 2010 Is it in a deep path? Hi 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.
kmount Posted July 31, 2010 Posted July 31, 2010 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?
jgcracknell Posted July 31, 2010 Author Posted July 31, 2010 Hi - tried via command prompt - making a share and accessing it that way. Renaming....it just wont go!
Dos_Box Posted July 31, 2010 Posted July 31, 2010 I've also found turning an upper folder into a share and deleting remotely works as well.
jgcracknell Posted July 31, 2010 Author Posted July 31, 2010 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
Tallwood_6 Posted July 31, 2010 Posted July 31, 2010 delinvfile or similar would do the job, you can download a working trial.
DMcCoy Posted July 31, 2010 Posted July 31, 2010 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.
Stuart_C Posted August 2, 2010 Posted August 2, 2010 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.
Chuckster Posted August 2, 2010 Posted August 2, 2010 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..?
JenJenMI Posted January 3, 2012 Posted January 3, 2012 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. 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. Doing the dir /x gave me the old style name (i.e. ABCDEF~1) and I could delete them command line using that syntax.
Oaktech Posted January 4, 2012 Posted January 4, 2012 could you try deleting via 7zip or unstoppable copy?
round2it Posted January 4, 2012 Posted January 4, 2012 http://www.edugeek.net/forums/windows-server-2008/82394-tip-delete-those-pesky-files-windows-refuses-delete-filename-too-long-ect.html
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now