pesky file will not delete (file name too long)

Status
Not open for further replies.

mraroid

Distinguished
Oct 17, 2014
178
5
18,685
I have some files I can not remove from my windows 10 computer. They are pdf files and word files. When I try to delete them I get a pop up that says the file name is too long. I am unable to right click and choose "rename" to change the file name.

Other files work on my computer. Do I need a special utility to remove them?

Thanks

mraroid
 
Solution
type cd desktop if you want to change directory to the desktop

though could just tell it to delete the file with out changing directory

DEL /F /S /Q /A "Full Path of File with extension"

put the file name you want deleted in the quotation marks must include the file extension as well as the path to the file

for example

DEL /F /S /Q /A "C:\Users\jack\Desktop\records.txt"

would delete a text file named records on the desktop

the /F /S /Q /A are telling it to force it and for hidden files and quietly ie it will just do it with out asking confirmation


They are deep in a folder called "2017 dead computer". Inside that folder is a folder called "docs-2-Sep 2015". Inside of that folder is a folder called "Universidad Tecnica Del Norte". Inside of that folder is a folder called Material De Clases" Inside of that folder are 4 more folders. And inside each of the four folders are two more folders. When they are all opened up, they each have a word doc or a pdf file.....

When I right click on the file, I get a drop down that says:

opean
edit
new
print
unlock
unlocker tool
destroy
open with...
send to

I installed two programs that are suppose to destroy the files. They did not work....

Thank you for trying to help me.

mraroid
 


I tried the version at the end of the regestry edit link and that did not work. I will probably try hand editing the regestry next. Not sure about doing that. I will try turing off windows restore....

Thanks for the help.

mraroid

 
I am in the middle of hand editing my regestery. The first part went OK. I am now at the part where it asks me to look for:

HKEY_CLASSES_ROOT\Directory\shell

When I open up "HKEY_CLASSES_ROOT" I have no sub directory called "Directory". I do having a listing for ".dir" but it will not open up. I am running Windows 10 Home, with the very latest updates. Could my regestry be different that the exmple? I am 64 bit if that matters....

mraroid
 
type cd desktop if you want to change directory to the desktop

though could just tell it to delete the file with out changing directory

DEL /F /S /Q /A "Full Path of File with extension"

put the file name you want deleted in the quotation marks must include the file extension as well as the path to the file

for example

DEL /F /S /Q /A "C:\Users\jack\Desktop\records.txt"

would delete a text file named records on the desktop

the /F /S /Q /A are telling it to force it and for hidden files and quietly ie it will just do it with out asking confirmation
 
Solution
Status
Not open for further replies.