Re: Unable to delete file with extremly long name
- From: Tiger <Tiger@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 29 Jan 2007 12:14:00 -0800
It is a left-over account which is no longer in use in our network. I
deleted most files of his profile from computer but was unable to delete
those long name files. I have tried a lot of methods, including changing
file name, mapping the folder, using Windows API and “DEL \\?\” command, et
al. but not worked.
To let IE 7 clean them, I moved my “Temporary Internet Files” folder to that
account then click “Delete…”. It didn’t work as IE didn’t recognize those
old folders. Then I moved “Temporary Internet Files” folder back and tried
again. It worked! IE removed those long name files as well as their folders!
Thanks for your help!
--
Tiger
"Wesley Vogel" wrote:
\\?\ turns off some checking of illegal names as a side effect of allowing.
paths up to 32000 characters.
Open a command prompt and type:
del \\?\
Drag the file into the command prompt so you do not have to type the name
and path.
Click on the command prompt Title bar to give it focus.
Then hit enter.
Why not just clean out the Temporary Internet Files folder?
To delete *all* of your Temporary Internet Files...
1) Start | Run | Type: inetcpl.cpl | Click OK
Or right click the Internet Explorer icon on your Desktop
Or Start | Settings | Control Panel | Internet Options
Best to do this with all instances of Internet Explorer closed. Especially
if there are a large number of files. Also close OE.
2) On the General Tab, in the middle of the screen, click on Delete Files
3) Check the box: Delete all offline content {This cleans >>
%userprofile%\Local Settings\Temporary Internet Files
AND
%userprofile%\Local Settings\Temporary Internet Files\Content.IE5
and \Content.MSO (Created by an MS Office program)}
4) Click on OK and wait for the hourglass icon to stop after it deletes the
temporary internet files
5) You can now click on Delete Cookies and click OK to delete cookies that
websites have placed on your hard drive.
6) You can also click on the Clear History button to empty your History
folder.
Note: If you do NOT select the Delete all offline content box, not
everything will be cleaned out.
Content.IE5 is a hidden system folder.
IE 7 does not have a Delete all offline content option.
You cannot delete a file or a folder on an NTFS file system volume
http://support.microsoft.com/kb/320081
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:4543C35F-8497-4CAD-85D5-B77F612BE717@xxxxxxxxxxxxx,
Tiger <Tiger@xxxxxxxxxxxxxxxxxxxxxxxxx> hunted and pecked:
I was unable to delete file with extremly long name in Temporary InternetFiles\Content.IE\PS7XCPH\article;type=rhighlts;artid=nri1855;date=200605;iss
Files folder.
In a command prompt window, I entered:
DEL /F /S /Q "\\?\C:\Documents and Settings\xyz\Local
Settings\Temp\Temporary Internet Files\Content.IE5\*.*"
Error appeared:
The path \\?\C:\Documents and Settings\xyz\Local Settings\Temp\Temporary
Internet
ue=5;subco=reviewss50,;chaco=;keywd=;njdis=;njreg=;crstg=;pos=top;sz=728x90;
fidid=0;posid=0;plaid=0;abr=!webtv;ord=[2]
is too long.
The file was unable to be renamed to a shorter length.
Any help will be appreciated.
--
Tiger
- Follow-Ups:
- References:
- Re: Unable to delete file with extremly long name
- From: Wesley Vogel
- Re: Unable to delete file with extremly long name
- Prev by Date: Re: My computer is near death.
- Next by Date: bannercpm.com/bc/123kah.php
- Previous by thread: Re: Unable to delete file with extremly long name
- Next by thread: Re: Unable to delete file with extremly long name
- Index(es):