Re: Cannot delete a file with a too long name

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Try substituting the folder in which the file resides for a drive then try deleting the file from the substituted drive. At the Command Prompt:

SUBST x: "c:\Program Files\Some Program Name"

To delete the substituted drive:

SUBST x: /d

John

horst wrote:

I found that I still have a "Sandboxie" folder although I had
uninstalled it.
So I decided to delete it but I got a message telling that it couldn't
delete a file because its name was too long.
Actually there is a a .htm file whose name is 111 characters long.
No way to rename, move or delete it.
I got the same error when I tried to delete it in the DOS window.
Any suggestion please?
Thanks
Horst
.



Relevant Pages

  • big iis/asp upload problem
    ... to delete from a command prompt that I could not delete ... through Windows Explorer. ... If it is an entire folder, sometimes deleting the folder's ...
    (microsoft.public.inetserver.iis.security)
  • Re: Folder half there?
    ... That error message can mean that the file/folder isn't there - it's already ... Have you tried deleting the folder from a command prompt? ...
    (microsoft.public.windowsxp.basics)
  • Re: WINXP-cannot delete a Folder
    ... Try renaming the folder from a command prompt and then deleting it. ... MS-MVP Windows Shell/User ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: WINXP-cannot delete a Folder
    ... > Try renaming the folder from a command prompt and then deleting it. ... >> Why can I not delete this, not in Safe mode either within windows xp.? ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Rolling back folders delete using VBA
    ... created at run time) with same sub folder structure. ... if we come accross an error while deleting a file from original location. ... Dim oSubFolder As Object ... Dim oFile As Object ...
    (microsoft.public.excel.programming)