invalid character in filename

S

shoua h.

Somehow I have one file on my WinXP SP2 Pro machine whose
filename got changed to include a \0x05 character in the
middle of its filename. I have been unable to delete it
using all these methods:

1. windows explorer, command prompt
2. using the extended path convention of prefixing with \\?
\
3. writing a C++ program to delete that file via Win32 API
and specifying the exact characters in the filename
4. directly editing the directory sector on the hard drive.
5. tried various HDD recovery tools, but they can't handle
dynamic NTFS disks on a IDE RAID 0 configuration.

Actually #4 work until I run chkdsk and the filename is
restored back in (probably due to reconciliation of the
NTFS journal).

Any suggestion.
 
R

Rock

shoua said:
Somehow I have one file on my WinXP SP2 Pro machine whose
filename got changed to include a \0x05 character in the
middle of its filename. I have been unable to delete it
using all these methods:

1. windows explorer, command prompt
2. using the extended path convention of prefixing with \\?
\
3. writing a C++ program to delete that file via Win32 API
and specifying the exact characters in the filename
4. directly editing the directory sector on the hard drive.
5. tried various HDD recovery tools, but they can't handle
dynamic NTFS disks on a IDE RAID 0 configuration.

Actually #4 work until I run chkdsk and the filename is
restored back in (probably due to reconciliation of the
NTFS journal).

Any suggestion.

Have you tried to rename it, then delete?
 
S

Star Fleet Admiral Q

Did you try opening a cmd.exe window in the directory where the file is
located and deleting it using the old DOS 8.3 filename?
 
A

Alex Nichol

shoua said:
Somehow I have one file on my WinXP SP2 Pro machine whose
filename got changed to include a \0x05 character in the
middle of its filename. I have been unable to delete it
using all these methods:

1. windows explorer, command prompt
2. using the extended path convention of prefixing with \\?
\

Have you tried using command prompt DEL and using a ? wild card in the
appropriate position (eg DEL somet?ing.ext )?
 
S

shoua h.

yes of course: neither windows explorer nor command prompt
will allow any operation against that file.
 
S

shoua h.

Well, that doesn't help because the 8.3 filename is the
same as the long filename: the file only has 5 characters
in the name and 3 characters in the extension.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top