Re: pathname/filename too long

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




"Jeremy Sun" <binmann@xxxxxxxxxxx> wrote in message
news:ukvp1KRUFHA.1944@xxxxxxxxxxxxxxxxxxxxxxx
> Recently I find files unremovable on my ntfs partition.
>
> Files like the following:
>
> c:\document and settings\administrators\local settings\temporary internet
>
files\content.ie5\ghaisufg\__Wbca;bveybv;agf3pftgqfeq7pagf3q6fpq3gfq68pfgqw3
> f68pqftq38pfgq3f68pq3ftgq3ftqpftqw3fggbaylgcvaeyvaelsfleat
>
> When I tried to map "c:\document and settings\administrators\local
> settings\temporary internet files\content.ie5\ghaisufg\" to, say, z: drive
> and tried to remove
>
"z:\__Wbca;bveybv;agf3pftgqfeq7pagf3q6fpq3gfq68pfgqw3f68pqftq38pfgq3f68pq3ft
> gq3ftqpftqw3fggbaylgcvaeyvaelsfleat" again, I can remove the file.
>
> So it sounds like it has something to do with the too long path/filename.
>
> The problem is I have over 1000 problem files all in different folders...
I
> am not going to spend 100 hours just to remove them one by one.
>
> Any suggestion here?
>
> Regards,
> Jeremy.
>

Your diagnosis is correct, as is your method of resolving the problem.
However, you do not need to delete these files individually. Simply
map drive Z: to "c:\document and settings\administrators\local
settings\temporary internet files\content.ie5", then type this command:

for /d %a in (*.*) do rd /s /q "%a"

You will, of course, lose your temporary Internet files but then -
who cares?


.



Relevant Pages

  • Re: D: drive wiped out HELP !!!!!
    ... | worth of extremely critical data. ... | all the critical updates and was then disconnected ... completely from internet ...
    (microsoft.public.windowsxp.hardware)
  • D: drive wiped out HELP !!!!!
    ... the drive had a ntfs partition and was full of nearly 2 years ... worth of extremely critical data. ... The machine was connected to the internet only briefly in order to download ... all the critical updates and was then disconnected completely from internet ...
    (microsoft.public.windowsxp.hardware)
  • pathname/filename too long
    ... Recently I find files unremovable on my ntfs partition. ... When I tried to map "c:\document and settings\administrators\local ... The problem is I have over 1000 problem files all in different folders... ...
    (microsoft.public.win2000.file_system)
  • pathname/filename too long
    ... Recently I find files unremovable on my ntfs partition. ... When I tried to map "c:\document and settings\administrators\local ... The problem is I have over 1000 problem files all in different folders... ...
    (microsoft.public.win2000.general)
  • Re: making Samba work [not yet, it turns out]
    ... > network and return a list of machines and IP addresses. ... but with the same internet address I was getting the other ... instead of resolving StudyPC to the local Windows machine on my ... did you ever tell us about how you realized the DNS setup within ...
    (Fedora)