PC Review


Reply
Thread Tools Rate Thread

Cannot delete cookie- pipe "|" in file name

 
 
RED
Guest
Posts: n/a
 
      11th Feb 2004
Hi everyone,

I ran across a very aggrivating problem, and I am hoping
someone here will have a solution.

When clearing out my Cookies folder, a ran across one
that I cannot delete. It indicates the file does not
exist, yet I am looking right at it. Renaming says the
filename or syntax is incorrect.

The file name has a pipe character "|" in it, and it
seems to somehow separate the file into 2 files when
being read yet appear as one when simply being listed in
the folder.

I have refreshed the folder view and verified existence
of the file in a command prompt, yet it cannot be
deleted. Heck I even browsed to the folder from my linux
box and it certainly showed up but the linux box could
not delete it either, indicated that [1].txt was not a
recognized command, oddly enough the [1].txt is what is
seen after the pipe character when listed.

Does anyone have any idea how I might delete this file?

Thanks,

RED
 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      11th Feb 2004
- Try deleting it with a wildcard command.
- Delete the whole folder

"RED" <(E-Mail Removed)> wrote in message
news:f0d301c3f0fa$27c99b40$(E-Mail Removed)...
> Hi everyone,
>
> I ran across a very aggrivating problem, and I am hoping
> someone here will have a solution.
>
> When clearing out my Cookies folder, a ran across one
> that I cannot delete. It indicates the file does not
> exist, yet I am looking right at it. Renaming says the
> filename or syntax is incorrect.
>
> The file name has a pipe character "|" in it, and it
> seems to somehow separate the file into 2 files when
> being read yet appear as one when simply being listed in
> the folder.
>
> I have refreshed the folder view and verified existence
> of the file in a command prompt, yet it cannot be
> deleted. Heck I even browsed to the folder from my linux
> box and it certainly showed up but the linux box could
> not delete it either, indicated that [1].txt was not a
> recognized command, oddly enough the [1].txt is what is
> seen after the pipe character when listed.
>
> Does anyone have any idea how I might delete this file?
>
> Thanks,
>
> RED



 
Reply With Quote
 
Phil Robyn [MVP]
Guest
Posts: n/a
 
      12th Feb 2004
RED wrote:

> Hi everyone,
>
> I ran across a very aggrivating problem, and I am hoping
> someone here will have a solution.
>
> When clearing out my Cookies folder, a ran across one
> that I cannot delete. It indicates the file does not
> exist, yet I am looking right at it. Renaming says the
> filename or syntax is incorrect.
>
> The file name has a pipe character "|" in it, and it
> seems to somehow separate the file into 2 files when
> being read yet appear as one when simply being listed in
> the folder.
>
> I have refreshed the folder view and verified existence
> of the file in a command prompt, yet it cannot be
> deleted. Heck I even browsed to the folder from my linux
> box and it certainly showed up but the linux box could
> not delete it either, indicated that [1].txt was not a
> recognized command, oddly enough the [1].txt is what is
> seen after the pipe character when listed.
>
> Does anyone have any idea how I might delete this file?
>
> Thanks,
>
> RED


In a CMD window, change to the directory containing the file and then
do 'dir /x'. Note the short (8.3) name of the file and use that to
delete it.

--
Phil Robyn
Univ. of California, Berkeley

u n z i p m y a d d r e s s t o s e n d e - m a i l
 
Reply With Quote
 
RED
Guest
Posts: n/a
 
      12th Feb 2004
Thanks Much That did it!!

RED

>-----Original Message-----
>RED wrote:
>
>> Hi everyone,
>>
>> I ran across a very aggrivating problem, and I am

hoping
>> someone here will have a solution.
>>
>> When clearing out my Cookies folder, a ran across one
>> that I cannot delete. It indicates the file does not
>> exist, yet I am looking right at it. Renaming says

the
>> filename or syntax is incorrect.
>>
>> The file name has a pipe character "|" in it, and it
>> seems to somehow separate the file into 2 files when
>> being read yet appear as one when simply being listed

in
>> the folder.
>>
>> I have refreshed the folder view and verified

existence
>> of the file in a command prompt, yet it cannot be
>> deleted. Heck I even browsed to the folder from my

linux
>> box and it certainly showed up but the linux box could
>> not delete it either, indicated that [1].txt was not a
>> recognized command, oddly enough the [1].txt is what

is
>> seen after the pipe character when listed.
>>
>> Does anyone have any idea how I might delete this file?
>>
>> Thanks,
>>
>> RED

>
>In a CMD window, change to the directory containing the

file and then
>do 'dir /x'. Note the short (8.3) name of the file and

use that to
>delete it.
>
>--
>Phil Robyn
>Univ. of California, Berkeley
>
>u n z i p m y a d d r e s s t o s e n d e - m

a i l
>.
>

 
Reply With Quote
 
=?Utf-8?B?UmljaEc=?=
Guest
Posts: n/a
 
      25th Feb 2004
I have a file that is on ly local machine deep in the Temp Int Files subdirectory that I cannot delete or rename also. I did the dir/x command to get the 8.3 name, but when I tried to delete the file using the 8.3 name I get the message "File not found" Any other suggestions or tips

TIA

Rich
 
Reply With Quote
 
Gary Smith
Guest
Posts: n/a
 
      25th Feb 2004
RichG <(E-Mail Removed)> wrote:
> I have a file that is on ly local machine deep in the Temp Int Files subdirectory that I cannot delete or rename also. I did the dir/x command to get the 8.3 name, but when I tried to delete the file using the 8.3 name I get the message "File not found" Any other suggestions or tips?


If it's actually a cookie, it's not really in the TIF folder, although
it may appear to be there. Cookies will be in \Documents and
Settings\{UserID}\Cookies.

--
Gary L. Smith (E-Mail Removed)
Columbus, Ohio
 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      25th Feb 2004
- What's the exact file name?
- Have you tried deleting it with a wildcard?


"RichG" <(E-Mail Removed)> wrote in message
news:5F0CDB9E-E569-443D-B69B-(E-Mail Removed)...
> I have a file that is on ly local machine deep in the Temp Int Files

subdirectory that I cannot delete or rename also. I did the dir/x command
to get the 8.3 name, but when I tried to delete the file using the 8.3 name
I get the message "File not found" Any other suggestions or tips?
>
> TIA.
>
> Rich



 
Reply With Quote
 
Josef Stalin
Guest
Posts: n/a
 
      28th Feb 2004
Comrade,

There are only two ways that I have been able to get rid of illegal
filenames like the one you have described.

1. Using a low-level disk editor, find the entry in the directory and
rename it to something like XXXXXXX.XXX. Exit the disk editor and delete
the file like you normally would.

2. Remove the entire Temporary Internet Files directory. Since the
directory is usually locked, I use Scheduled Tasks and remove Temporary
Internet File everytime I boot my machine. Scheduled Task calls a batch file
that I created. The entry in the batch file looks like this:

rd /s /q "c:\documents and settings\default user\local settings\temporary
internet files"

I have other commands in the batch file for removing history subdirectories,
temp subdirectories, other cookie subdirectories, log files and so forth.

The TIF, temp, cookie directories structures are rebuilt when the operating
system is started. This also eliminates the ever growing hidden index.dat
file.

Illegal file names on a server are a different matter. Very difficult to
remove unless you can reboot the computer. If I'm wrong, please correct me.

Uncle Joe

--
Take the "NiceGuy" out of (E-Mail Removed) to respond
"Pegasus (MVP)" <(E-Mail Removed)> wrote in message
news:OC%23TH19%(E-Mail Removed)...
> - What's the exact file name?
> - Have you tried deleting it with a wildcard?
>
>
> "RichG" <(E-Mail Removed)> wrote in message
> news:5F0CDB9E-E569-443D-B69B-(E-Mail Removed)...
> > I have a file that is on ly local machine deep in the Temp Int Files

> subdirectory that I cannot delete or rename also. I did the dir/x command
> to get the 8.3 name, but when I tried to delete the file using the 8.3

name
> I get the message "File not found" Any other suggestions or tips?
> >
> > TIA.
> >
> > Rich

>
>



 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      28th Feb 2004
There are three further ways that may work:
- Use wildcards;
- Use 8.3 file names;
- Use this syntax: del \\.\c:\LPT1


"Josef Stalin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Comrade,
>
> There are only two ways that I have been able to get rid of illegal
> filenames like the one you have described.
>
> 1. Using a low-level disk editor, find the entry in the directory and
> rename it to something like XXXXXXX.XXX. Exit the disk editor and delete
> the file like you normally would.
>
> 2. Remove the entire Temporary Internet Files directory. Since the
> directory is usually locked, I use Scheduled Tasks and remove Temporary
> Internet File everytime I boot my machine. Scheduled Task calls a batch

file
> that I created. The entry in the batch file looks like this:
>
> rd /s /q "c:\documents and settings\default user\local settings\temporary
> internet files"
>
> I have other commands in the batch file for removing history

subdirectories,
> temp subdirectories, other cookie subdirectories, log files and so forth.
>
> The TIF, temp, cookie directories structures are rebuilt when the

operating
> system is started. This also eliminates the ever growing hidden index.dat
> file.
>
> Illegal file names on a server are a different matter. Very difficult to
> remove unless you can reboot the computer. If I'm wrong, please correct

me.
>
> Uncle Joe
>
> --
> Take the "NiceGuy" out of (E-Mail Removed) to respond
> "Pegasus (MVP)" <(E-Mail Removed)> wrote in message
> news:OC%23TH19%(E-Mail Removed)...
> > - What's the exact file name?
> > - Have you tried deleting it with a wildcard?
> >
> >
> > "RichG" <(E-Mail Removed)> wrote in message
> > news:5F0CDB9E-E569-443D-B69B-(E-Mail Removed)...
> > > I have a file that is on ly local machine deep in the Temp Int Files

> > subdirectory that I cannot delete or rename also. I did the dir/x

command
> > to get the 8.3 name, but when I tried to delete the file using the 8.3

> name
> > I get the message "File not found" Any other suggestions or tips?
> > >
> > > TIA.
> > >
> > > Rich

> >
> >

>
>



 
Reply With Quote
 
Josef Stalin
Guest
Posts: n/a
 
      28th Feb 2004

"Pegasus (MVP)" <(E-Mail Removed)> wrote in message
news:%23GVN47j$(E-Mail Removed)...
> There are three further ways that may work:
> - Use wildcards;
> - Use 8.3 file names;
> - Use this syntax: del \\.\c:\LPT1


Comrade,

I beg to differ with you. Be grateful these are modern times and I don't
send you to a lifetime working in a coal mine in Siberia. An illegal
filename (even 8.3) cannot be deleted. Create a file on your computer using
an illegal character. Unless you're a very brave soul, I'd suggest
experimenting on a RAM disk. Use any of these characters within the quotes
"?*<|&>" . There may be more, but those are the ones that I had problems
with.

I tried the wildcard option. e.g. del w*.* Didn't work. The OS barfed.
Option 2 wasn't an option since the filename was already 8.3.
Tried backslashing (option 3) like in unix but that didn't work.
Tried quoting the filename ("w*ethg.dll" -- the '*' is the illegal
character -- thinking that the fn would be passed to the OS "unprocessed".
Didn't work. Duh.

I'll never understand why Windows allows itself to create an illegal
filename. Anyway, on one of our servers we have a directory with illegal
filenames. Can't get rid of those files unless we reboot the server and use
a disk editor to directly modify the filenames within the directory but
since we can never reboot the computer, those illegal filenames have been on
the server for years.

Uncle Joe
--
Take the "NiceGuy" out of (E-Mail Removed) to respond


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
=IF(ISNUMBER(SEARCH("ELB",B2)),"Pipe") add more like "ELB" "FLG" MAHMOUD Microsoft Excel Worksheet Functions 5 6th Sep 2009 06:04 PM
RE: Can the "draft" and "delete" file be hidden =?Utf-8?B?TWlsbHkgU3RhcGxlcyBbTVZQIC0gT3V0bG9va10= Microsoft Outlook Discussion 0 7th Dec 2006 12:41 AM
I want to save an Excel file in "Pipe Delimited" (instead of csv). =?Utf-8?B?SsOoWmVl?= Microsoft Excel Misc 3 2nd Nov 2004 12:21 AM
<input id="iPhoto" type="file" size="20" runat="server"> Mark Sandfox Microsoft ASP .NET 1 11th May 2004 02:58 AM
7000 tmp file in "documents & setting" & " windows/systems 32" - Can I delete ? crankysuzy@aol.cm Windows XP Performance 3 13th Feb 2004 03:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:24 AM.