Re: Need help to remove a long name file
On Dec 27 2007, 10:08 am, "George Hester" <hesterl...@hotmail.com>
wrote:
> Had the same problem the other day. They were cookie files with names that
> were too long. Try this. Go into the folder with the command prompt where
> the files reside. Make sure you remove from that folder any files you want
> to some other folder. Then type: cd.. and hit enter. You should be one
> folder up from where the files reside. Then type rmdir /s /q %NAMEOFFOLDER%
> where NAMEOFFOLDER is the folder's name that is containing the files you
> want to remove. Then hit ENTER.
>
> --
>
> George Hester
> _________________________________"Andiez" <and...@verizonremove.net> wrote in message
>
> news:38Ccj.1414$OH6.584@trndny03...
>
> > I have two files in a Temporary Internet Files folder that are 175
> > characters long. The characters are letters and numbers, and the files
> are
> > .htm which open towww.msn.com. I can't remove them delete them, view the
> > properties, or anything except open them. Does anyone have any idea how
> to
> > remove them outside of formatting the drive, which may not work. Help!
>
> > Andie Z
Andie: had this same problem in Win2k, in my case it was with Windows
Update files downloaded from the Microsoft catalog. Interesting that
the OS's very website filenames that are too long for their own
system to handle. (Their Catalog website appends long garbled
nonsensical alphanumeric suffixes to the downloaded files.) Couldn't
delete, rename, or move the files from Explorer.
Found 2 solutions on other forums (forget which); am confident one or
the other, or a combination of the 2 will work for you; they did for
me:
1. Use the command prompt to find the 'short' filename for these
(familiarity in the old DOS command-line environment is required]:
"use command prompt to find the offending file. use the command dir /x
to get the shortened file name ie 12345~1.jpg. then enter del
12345~1.jpg. 12345~1.jpg obviously being substituted for whatever file
you wish to remove."
Using the s-switch "del [short filename] /s" helps in some cases; for
troublesome folders, use same technique but the command is "rd [short
foldername] /s" (no quotes).
2. A free program written specifically for this task,
"DelinvFile.exe" (v3.02). I was a bit nervous using it at first but it
worked perfectly for me, even getting rid of a couple of folders that
the above technique could not achieve. The source website is "http://
www.purgeie.com/delinv/"; other download site also offer it, some
offering v.2.02, which is completely freeware according to the source
website. v3.02 apparently provides some advanced features on a 15-day
try-before-you-buy trial, where they were all free with v.2.02. But
you'll probably just need it once, so get the 3.02.