Undeletable Files (PMV1026; CHCP 850 may cure)
- From: walt@invalid (walt at w-gregg dot juneau.ak.us)
- Date: Sat, 29 Jul 2006 17:10:34 -0800
Still trying to rebuild my system after a hardware
problem, I ran into some files containing accented
characters. These files did contain data but couldn't
be typed, edited, viewed, or accessed in any way. I
couldn't rename them with the CLI or PMShell. The
CLI said file not found, the PMShell said PMV1026,
filename too long (it wasn't). I couldn't even erase
the stubborn files with *.*, or shred their parent
directory. I tried using exact character matches
using ALT-xxx and so forth as well.
There is an old Newgroup message from Bruce B.
Kitchen, 'Undeletable files' (Oct. 15, 1997) which
sounds exactly like this problem. But at that time
the only thing anyone found that worked was to back
up and reformat the partition to purge the stubborn
files.
Well, I just tumbled to a different solution. I
used CHCP 850 to change the code page from 437 to 850,
and was immediately able to access and purge the
unwanted files. Apparently, using ALT-this and that
to enter unusual filename characters is not always
effective. In at least some cases, you have to set
the code page to the same page in which a file was
originally created before you can get rid of it.
Just thought I'd post this in case anyone else ever
runs into the undeletable file problem again. Try
changing the code page (e.g. CHCP 850). If you are
lucky that might be sufficient and you won't have to
reformat your partition.
I'm also sort of curious as to why it could possibly
matter what code page is set, when you *can* enter the
exact filename using ALT codes. If anybody can explain
that it might be worth passing on.
Bye!
--
Walt Gregg (walt at w-gregg dot juneau.ak.us)
.
- Follow-Ups:
- Re: Undeletable Files (PMV1026; CHCP 850 may cure)
- From: Tom Brown
- Re: Undeletable Files (PMV1026; CHCP 850 may cure)
- From: Mike Luther
- Re: Undeletable Files (PMV1026; CHCP 850 may cure)
- From: James J. Weinkam
- Re: Undeletable Files (PMV1026; CHCP 850 may cure)
- From: Shmuel (Seymour J.) Metz
- Re: Undeletable Files (PMV1026; CHCP 850 may cure)
- Prev by Date: Re: Bootable CD (postscript)
- Next by Date: Re: To dig out the hidden file os2ver
- Previous by thread: Feel the Force...
- Next by thread: Re: Undeletable Files (PMV1026; CHCP 850 may cure)
- Index(es):
Relevant Pages
|