A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » General XP issues or comments
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

cant read CHM file in directory contains character #



 
 
Thread Tools Display Modes
  #1  
Old May 26th 04, 07:49 AM
EricTsai - ½²©v¿«
external usenet poster
 
Posts: n/a
Default cant read CHM file in directory contains character #

Hi,
I found that if a chm file located in a directory,
and the absolute path of the directory contains any #,
I can open the chm file but can't see any content.


Example:

A win2000advsrvhelp.chm in D:\eBooks#\Win2000,
then I can't see the content of the chm file.
After I rename eBooks# to eBook,
I can see the content.


Ads
  #2  
Old May 26th 04, 07:50 AM
Kelly
external usenet poster
 
Posts: n/a
Default cant read CHM file in directory contains character #

Interesting!

It is possible your CHM file association is corrupt.

Go to Start/Run/Regedit and navigate to this key:

HKEY_CLASSES_ROOT\chm.file\shell\open\command

The Default value for this entry should be: "C:\WINDOWS\hh.exe" %1
(you may need to make changes if Windows is not on C, or if your XP
installation is not in the Windows folder).

Next, go to: HKEY_CLASSES_ROOT\.chm

The Default value for this entry should be: chm.file

To modify a value, double click on the Default entry and enter the values as
shown.

If the above doesn't help: Go to Start/Run and type in:
%userprofile%\Application Data\Microsoft\HTML Help and rename it.

Note: Also your hh.dat file. Do a Start/Search for hh.dat. It should be
found here
"%userprofile%\Application Data\Microsoft\HTML Help. If found, rename or
delete.

Good luck!
--
All the Best,
Kelly

Microsoft-MVP Windows® XP
2004 Windows MVP "Winny" Award

Troubleshooting Windows XP
http://www.kellys-korner-xp.com

Taskbar Repair Tool Plus!
http://www.kellys-korner-xp.com/taskbarplus!.htm


"EricTsai - ½²©v¿«" wrote in message
...
Hi,
I found that if a chm file located in a directory,
and the absolute path of the directory contains any #,
I can open the chm file but can't see any content.


Example:

A win2000advsrvhelp.chm in D:\eBooks#\Win2000,
then I can't see the content of the chm file.
After I rename eBooks# to eBook,
I can see the content.




  #3  
Old May 26th 04, 08:48 AM
EricTsai - ½²©v¿«
external usenet poster
 
Posts: n/a
Default cant read CHM file in directory contains character #

Thank you, Kelly.
But unfortunately all these methods don't work.

I've done more experiment.
If the path contains #, I can see Table of Content of the file.
But at the right side, it says: Cannot display page. Can't find server or
DNS error.
If the filename contains #, I can also see Table of Content of the file.
But at the right side, it's blank. It doesn't show anything.
If both path and filename contains #, the situation is the same as only path
contains #.

I think maybe because chm is compiled html file,
and hh.exe has some problem dealing with #.

Any suggestions? ^_^


"Kelly" ¼¶¼g©ó¶l¥ó·s»D
...
Interesting!

It is possible your CHM file association is corrupt.

Go to Start/Run/Regedit and navigate to this key:

HKEY_CLASSES_ROOT\chm.file\shell\open\command

The Default value for this entry should be: "C:\WINDOWS\hh.exe" %1
(you may need to make changes if Windows is not on C, or if your XP
installation is not in the Windows folder).

Next, go to: HKEY_CLASSES_ROOT\.chm

The Default value for this entry should be: chm.file

To modify a value, double click on the Default entry and enter the values

as
shown.

If the above doesn't help: Go to Start/Run and type in:
%userprofile%\Application Data\Microsoft\HTML Help and rename it.

Note: Also your hh.dat file. Do a Start/Search for hh.dat. It should be
found here
"%userprofile%\Application Data\Microsoft\HTML Help. If found, rename or
delete.

Good luck!
--
All the Best,
Kelly

Microsoft-MVP Windows?XP
2004 Windows MVP "Winny" Award

Troubleshooting Windows XP
http://www.kellys-korner-xp.com

Taskbar Repair Tool Plus!
http://www.kellys-korner-xp.com/taskbarplus!.htm


"EricTsai - ½²©v¿«" wrote in message
...
Hi,
I found that if a chm file located in a directory,
and the absolute path of the directory contains any #,
I can open the chm file but can't see any content.


Example:

A win2000advsrvhelp.chm in D:\eBooks#\Win2000,
then I can't see the content of the chm file.
After I rename eBooks# to eBook,
I can see the content.






  #4  
Old May 26th 04, 05:10 PM
BearFx
external usenet poster
 
Posts: n/a
Default cant read CHM file in directory contains character #

Eric,

You are not the only one experiencing this problem. It happens to me
on my two XP boxes at home, and on at least 5 at work.

It is a very frustrating problem. At first I thought my help files
were corrupted- The possibility that the directory name caused the
problem didn't even occur to me. I was recreated the help files for
my programs when I moved one to my desktop, and voila- it dispplayed
properly again.

SDF


"EricTsai - ½²©v¿«" wrote in message ...
Hi,
I found that if a chm file located in a directory,
and the absolute path of the directory contains any #,
I can open the chm file but can't see any content.


Example:

A win2000advsrvhelp.chm in D:\eBooks#\Win2000,
then I can't see the content of the chm file.
After I rename eBooks# to eBook,
I can see the content.

  #5  
Old May 26th 04, 08:46 PM
Pete Lees
external usenet poster
 
Posts: n/a
Default cant read CHM file in directory contains character #

Eric,

I found that if a chm file located in a directory,
and the absolute path of the directory contains any #,
I can open the chm file but can't see any content.


This is a known problem, described in Knowledge Base article
319247(http://support.microsoft.com/?kbid=319247).

The hash symbol normally designates a bookmark name in HTML, so its
presence in an HTML Help pathname confuses the help viewer.

--
Pete (Microsoft Help MVP)
  #6  
Old May 27th 04, 03:50 AM
EricTsai - ½²©v¿«
external usenet poster
 
Posts: n/a
Default cant read CHM file in directory contains character #

I've tried to search in KB but didn't see that article....
Thank you, Pete!

"Pete Lees" ¼¶¼g©ó¶l¥ó·s»D
.. .
Eric,

I found that if a chm file located in a directory,
and the absolute path of the directory contains any #,
I can open the chm file but can't see any content.


This is a known problem, described in Knowledge Base article
319247(http://support.microsoft.com/?kbid=319247).

The hash symbol normally designates a bookmark name in HTML, so its
presence in an HTML Help pathname confuses the help viewer.

--
Pete (Microsoft Help MVP)



  #7  
Old February 13th 14, 12:46 PM posted to microsoft.public.windowsxp.general
No_Name
external usenet poster
 
Posts: 1
Default cant read CHM file in directory contains character #

On Wednesday, 26 May 2004 11:22:47 UTC+5:30, EricTsai - ���v�� wrote:
Hi,
I found that if a chm file located in a directory,
and the absolute path of the directory contains any #,
I can open the chm file but can't see any content.


Example:

A win2000advsrvhelp.chm in D:\eBooks#\Win2000,
then I can't see the content of the chm file.
After I rename eBooks# to eBook,
I can see the content.


Eric

As u mentioned,file name with "#",does not display content of the file,is absolutely right.Best solution would be to avoid "#" in name of the file.Same problem observed in Win7 too.

Enjoy
  #8  
Old February 14th 14, 09:29 PM posted to microsoft.public.windowsxp.general
J. P. Gilliver (John)
external usenet poster
 
Posts: 5,291
Default cant read CHM file in directory contains character #

In message ,
writes:
On Wednesday, 26 May 2004 11:22:47 UTC+5:30, EricTsai - 0 Hi,
I found that if a chm file located in a directory,
and the absolute path of the directory contains any #,
I can open the chm file but can't see any content.


Example:

A win2000advsrvhelp.chm in D:\eBooks#\Win2000,
then I can't see the content of the chm file.
After I rename eBooks# to eBook,
I can see the content.


Interesting problem - weird!

Eric

As u mentioned,file name with "#",does not display content of the
file,is absolutely right.Best solution would be to avoid "#" in name of
the file.Same problem observed in Win7 too.

Enjoy


(Are you related to Hot-Text?)

Eric posted that if there's a # in the pathname, he can't see the
content. Since he's already worked out that it's the # that causes the
problem, I would guess he _knows_ the "solution" you suggested.

(Note - it isn't the _filename_, but the _path_, at least in the example
given.)

Eric: not that it's a solution to the problem, but does the same happen
if you use "subst" or "Map Network Drive" to point to it? (I know this
sounds like the same sort of "solution" as bhabanisb's, but the answer
_might_ help someone else address the problem.)
--
J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

"Expectate litteras meas." Translation: "You'll get mail."
  #10  
Old February 15th 14, 09:50 AM posted to microsoft.public.windowsxp.general
J. P. Gilliver (John)
external usenet poster
 
Posts: 5,291
Default cant read CHM file in directory contains character #

In message , Rasta Robert
writes:
On 2014-02-14, J. P. Gilliver (John) wrote:
In message ,
writes:
On Wednesday, 26 May 2004 11:22:47 UTC+5:30, EricTsai - 0 Hi,


Eric posted that if there's a # in the pathname, he can't see the
content. Since he's already worked out that it's the # that causes the
problem, I would guess he _knows_ the "solution" you suggested.

(Note - it isn't the _filename_, but the _path_, at least in the example
given.)

Eric: not that it's a solution to the problem, but does the same happen
if you use "subst" or "Map Network Drive" to point to it? (I know this
sounds like the same sort of "solution" as bhabanisb's, but the answer
_might_ help someone else address the problem.)


Almost ten years after posting the original post, Eric
probably isn't waiting for answers anymore.


Oops - hoised by my own petard! I hadn't spotted the date. Probably
because someone posted a response recently, and it was that I was
responding to (i. e. that someone hadn't noticed the date either!).
--
J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

The fetters imposed on liberty at home have ever been forged out of the weapons
provided for defence against real, pretended, or imaginary dangers from abroad.
-James Madison, 4th US president (1751-1836)
  #11  
Old February 15th 14, 04:06 PM posted to microsoft.public.windowsxp.general
Ken Blake, MVP[_4_]
external usenet poster
 
Posts: 1,699
Default cant read CHM file in directory contains character #

On Sat, 15 Feb 2014 09:50:43 +0000, "J. P. Gilliver (John)"
wrote:


Oops - hoised by my own petard!




I hate to correct misspellings, but since it's a quotation...

That's "hoist," not "hoised."

  #12  
Old February 16th 14, 10:43 PM posted to microsoft.public.windowsxp.general
J. P. Gilliver (John)
external usenet poster
 
Posts: 5,291
Default cant read CHM file in directory contains character #

In message , "Ken Blake,
MVP" writes:
On Sat, 15 Feb 2014 09:50:43 +0000, "J. P. Gilliver (John)"
wrote:


Oops - hoised by my own petard!




I hate to correct misspellings, but since it's a quotation...

That's "hoist," not "hoised."

I've had this one out in another newsgroup. Do you know what a petard
is? Hoised is indeed an archaic - arguably even obsolete - form of the
verb relating to what a petard does, but they don't hoist (lift with
rope[s]).
--
J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

.... the pleasure of the mind is an amazing thing. My life has been driven by
the satisfaction of curiosity. - Jeremy Paxman (being interviewed by Anne
Widdecombe), Radio Times, 2-8 July 2011.
  #13  
Old February 17th 14, 04:00 AM posted to microsoft.public.windowsxp.general
Hot-Text
external usenet poster
 
Posts: 49
Default name it to: Win2000.chm

wrote in message ...
On Wednesday, 26 May 2004 11:22:47 UTC+5:30, EricTsai - ???v?? wrote:
Hi,
I found that if a chm file located in a directory,
and the absolute path of the directory contains any #,
I can open the chm file but can't see any content.


Name it to: Win2000.chm
If you see no content afterward

Because there no content in it


  #14  
Old February 17th 14, 07:34 AM posted to microsoft.public.windowsxp.general
J. P. Gilliver (John)
external usenet poster
 
Posts: 5,291
Default name it to: Win2000.chm

In message , Hot-Text
writes:
wrote in message
...
On Wednesday, 26 May 2004 11:22:47 UTC+5:30, EricTsai - ???v?? wrote:
Hi,
I found that if a chm file located in a directory,
and the absolute path of the directory contains any #,
I can open the chm file but can't see any content.


Name it to: Win2000.chm
If you see no content afterward

Because there no content in it


Not so. In the part you snipped, he said he _could_ see content in it if
the path (not the filename) _didn't_ contain a #.
--
J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

"Research is what I'm doing when I don't know what I'm doing."
- Wernher von Braun
  #15  
Old February 17th 14, 06:29 PM posted to microsoft.public.windowsxp.general
Ken Blake, MVP[_4_]
external usenet poster
 
Posts: 1,699
Default cant read CHM file in directory contains character #

On Sun, 16 Feb 2014 22:43:06 +0000, "J. P. Gilliver (John)"
wrote:

In message , "Ken Blake,
MVP" writes:
On Sat, 15 Feb 2014 09:50:43 +0000, "J. P. Gilliver (John)"
wrote:


Oops - hoised by my own petard!




I hate to correct misspellings, but since it's a quotation...

That's "hoist," not "hoised."

I've had this one out in another newsgroup. Do you know what a petard
is?



Yes, I do. A bomb. I looked it up many years ago.


Hoised is indeed an archaic - arguably even obsolete - form of the
verb relating to what a petard does, but they don't hoist (lift with
rope[s]).




Perhaps so, but "hoist," not "hoised" is what Shakespeare wrote.
That's the way it's spelled in all the editions of Shakespeare I've
ever seen, including my two-volume New Variorum Edition of Hamlet.


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.