Temporary Internet Files ( long file names – can’t delete )

Microsoft Office
Microsoft Windows
Performance management
SQL Server
I have come across a few files on several computers that have files with long names in the temporary internet files folder. The files can not be renamed or deleted. Has anyone come across this problem before and if you have, Please let me know what worked for you. I have tried deleting the files from with in cmd, in safe mode as well with no luck. Thanks in advance. Sheldon

Answer Wiki

Thanks. We'll let you know when a new response is added.

In Windows if you try to delete a excessively long filename- you get a message that the file cannot be stored in ‘Recycle’. BUT it should delete. Failure to delete can be ‘Norton NProtect’, files that the local user doesn’t own (right click and check advanced on the security tab), or that are in use. If you don’t have IE open then a file in temporary internet that errors with ‘in use’ is scary.

Do you get a specific error message?

I have faced same problem also. After days of searching I finally found this software and using for some time. That is Long Path Tool, which can simplify and probably end your problems in unlocking, managing and renaming files that appear to have a long filename. You may have problems accessing, managing and even renaming files that have more than 255 characters, Long Path Tool will answer the problems which can handle pathnames up to the internal limit of 32,000 characters! To use the program all you need to do is to download this program online and save all the settings to your computer. This program is compatible with Windows NT, 2000, XP, Vista and Windows 7. So go to www.longpathtool.com get your problem solved.

Discuss This Question: 7  Replies

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • DT2115
    You can try some software called "Delete FXP Files" by jrtwine software. Website: http://www.jrtwine.com/ This software has worked for me when I had files on my local PC that were created (by some app) with special characters or a special naming convention that would not allow me to delete, even with a delete-on-reboot command.
    55 pointsBadges:
  • Mortree
    All that is needed to keep you from deleting is a program that has the file open exclusively and has not released it. Most programs don't demand exclusive open or actually release files between changes even while they are logically (virtually) still open. Thus you can delete a Notepad file while edit it. Try turning off Indexing Service either on all disks or by killing the service. It is a security risk anyway and only an big advantage if you have stored lots of online documents you want to search internally. Most people aren't running a document sharing project of that scale or personally generating so many files that they can't wait a big longer for a search. Unfortunately many Microsoft programs including Office and the Windows write undocumented scratch files to Temp directories -- as opposed to simple "~document being edited.tmp" files. Not all such program clean up after themselves. I believe Word merge operations may use temp files and Access reports. Your SWAP/page files is not used for scratch file purposes. But most of such files end in .tmp files. http://support.microsoft.com/?kbid=328607 I think both Indexing and .NET uses .tmp files and they typically have all the admin rights needed to make sure nobody deletes their files until they are done. Indexing service runs all the time if you let it. So suspect #1 if you closed IE is Indexing service.
    0 pointsBadges:
  • 3222233
    This is a good utility for getting rid of those pesky long file names: Delinvfile 2.0 you can get it at: http://www.purgeie.com/delinv/dldelinv.htm I use it all the time when cleaning out the temp files of users with ad-ware and spyware. Regards, Beau
    0 pointsBadges:
  • Bobkberg
    You can also try moving the affected file to another folder, or renaming one of the folders containing it. This doesn't always work, but it's another trick that works often enough to keep in your "bag of tricks". Bob
    1,070 pointsBadges:
  • 1531apprentice
    I have experienced a similar problem with other temporary files, as some have mentioned below Windows sometimes does not always cleanly release links to a file. Other issues are links to the file from the registry HKEY_Local_Machine > Software > Microsoft > Windows Current Version > Run + Runonce + Runexecute. Try removing the registry entry. (Back up the registry first if in any doubt..) You could try right clicking on the files and removing System from the security tab, just leaving your username as having full control then restart and delete. regards
    0 pointsBadges:
  • Jane123
    Hi all, I faced the same problem with long path names and couldn't solve it for some time. But I found one useful tool which helped me to resolve this question. You can view and learn about it on the following address http://abtollc.com/Folder-Delete.aspx. Personally I satisfied with the result. There is also an option that lists long paths on your drives.
    10 pointsBadges:
  • FelixKey
    I have faced same problem also. After days of searching I finally found solution for unlocking, managing and renaming long named files. So do not wait get your problem solved from http://longpathtool.com/
    25 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.


Share this item with your network: