1/16/2004 07:56:51 lsz
Error: Extra-long drive-path-filename problem
PROBLEM
Can't view, copy, rename, delete or get the properties of a file.
Attempt to view .MHT web page capture file with Windows Explorer -
Internet Explorer (double-clicking with the left mouse button on the
displayed file name) results in no view, no change in file folder
display and no error message.
Attempting to rename it with <F2> or with a right-click with the mouse
on the filename fails with no error message but there is a system
speaker beep.
Attempt to delete or copy the file fails, but there is no error
message and no beep from the system speaker.
Attempt to "Open in same window" with right-click mouse opens Internet
Explorer window pointed at address URL "http:///" and error page "The
page cannot be displayed" "Cannot find server or DNS Error"
Attempt to inspect properties with mouse right-click from context menu
give error message "Desktop The properties for this item are not
available"
The filename is very long.
SOLUTION:
Shorten the path by renaming one (or more) of the path folders.
Rename the file to a shorter name, then restore the path element(s) to
its original name. Or the parent directory could be moved to a
shorter path, the file renamed, and then moved back to its original
place in the directory tree.
DISCUSSION
The dpathfname in question totals 91 + 172 = 263 visible characters in
length. Sortening one element of the dpath "Multimedia Tools" to
"mmt" reduces the total length 13 characters, to 250 visible
characters. This was enough to allow renaming of the file to "WinISO
is a CD-ROM image file utility", a reduction of 132 characters.
Restoring the path element "mmt" to "Multimedia Tools" resulted in a
new dpathfname length of 131 characters.
Drive-Path: 91 chars
T:\dloads\DLOADS2 (semi-sorted)\Multimedia Tools\CD
Burn\WinISO\WinISO.v5.3.WinAll-ENFUSiA\
Filename: 172 visible chars
WinISO is a CD-ROM image file utility that can convert BIN to ISO,
extract-edit-create ISO files directly, make bootable CDs and as a
BIN-ISO converter-extractor-editor.mht
Web page source:
http://www.winiso.com/
<title>WinISO is a CD-ROM image file utility that can convert BIN to
ISO, extract/edit/create ISO files directly, make bootable CDs and as
a BIN/ISO converter/extractor/editor</title>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<META NAME="description" CONTENT="WinISO is a CD-ROM image file
utility that can convert BIN to ISO, extract/edit/create ISO files
directly, make bootable CDs and as a BIN/ISO
converter/extractor/editor">
ADDITIONAL INFORMATION
This is a problem I have reported on before in the newsgroups ("Error:
the properties for this item are not available"). The earlier ones
were problematic because the dpath-fname was less than the
260-character maximum path length limit noted by Microsoft:
http://msdn.microsoft.com/library/de...ing_a_file.asp
The difference here is that there is a file that exists on the system
which is longer than this limit, can't be copied, moved, etc. It is
copied faithfully when the disk drive is Ghosted (v7.5), but attempts
to compare after copy using Beyond Compare shows the files as not
comparable, neither equal to nor different.
You can't create a file like this under normal circumstances. It
can't be used once it's on your hard disk drive. How did it get there
in the first place?
I went back to the www site page in question (
http://www.winiso.com/)
and experimented with saving the page to a file. When I tried to save
it to the original long dpath, Windows Explorer-Internet Explorer
truncated the saved file name to 167 characters: "WinISO is a CD-ROM
image file utility that can convert BIN to ISO, extract-edit-create
ISO files directly, make bootable CDs and as a BIN-ISO
converter-extractor-edito". I was not able to add more characters to
the end of the file ("r.mht") by renaming it.
So the file was not originally created in the long dpath-fname form.
Evidently the page was originally saved to a path that was shorter
than the one I found it in. In the ordinary course of reorganization
of files, either the original path name was lengthened in a renaming
operation or some part of another path was copied over to this path,
resulting in the extra long dpath filename problem here.
-- Roy Zider
San Francisco, CA
Additional key words and phrases:
Windows 2000 SP3 NTFS
WD2000JB 200GB drive single large partition
access denied
extra long file name
can't rename file
file properties
maximum path length MAX_PATH