Can't use "#" in a file or folder name

  • Thread starter Thread starter _DG
  • Start date Start date
D

_DG

At least when you've got any docs in .CHM format in the folder tree.
If you drop a file called CSharpDocs.chm into a folder:
\toplevel\C#\docs, you can open it, but it won't display. The #
anywhere in the folder hierarchy is enough to cause problems.

I spent quite a while trying to figure this out. Tried it on several
systems. Even discarded some CHM files, thinking they were corrupt.
This is evidently a problem with Microsoft's own reader, hh.exe. I
haven't been able to find a fix. Well, aside from renaming things.

You'd think that Microsoft would have some inhouse C# docs in chm
format?

On a different tangent, you can't name a file or folder .NET_whatever
either but of course that's a file system problem. I suppose everyone
is doing the same as with the #...just spelling out DotNet.
 
DG,

I don't know if it will work, but.......
Just out of curosity, did you try forward slashes to refer to documents
within the CHM file?
/toplevel/C#/docs

Dave
 
DG,

I don't know if it will work, but.......
Just out of curosity, did you try forward slashes to refer to documents
within the CHM file?
/toplevel/C#/docs

Dave

Not sure I follow. I was referring to local folder structure. IOW,
if you have "Docs.chm" in a folder called "Works" it will be usable.
If you create a folder called "DontWork#" and move the same file
there, nothing will display when you open the file.

The problem seems to trace to the inclusion of a "#" anywhere in the
file name or in any folder that you put the file into.

Weird, isn't it? Try it.
 
...
I was referring to local folder structure. IOW,
if you have "Docs.chm" in a folder called "Works" it will be usable.
If you create a folder called "DontWork#" and move the same file
there, nothing will display when you open the file.

The problem seems to trace to the inclusion of a "#" anywhere in the
file name or in any folder that you put the file into.

Weird, isn't it? Try it.

I don't think it's weird.

Doesn't the "hyperlinks" simply follow the standards of HTML?

In that case, a link to "DontWork#" would read out as a link to "DontWork"
and a bookmark "on that page" noted after the "#".

my 2c

// Bjorn A
 
...


I don't think it's weird.

Doesn't the "hyperlinks" simply follow the standards of HTML?

In that case, a link to "DontWork#" would read out as a link to "DontWork"
and a bookmark "on that page" noted after the "#".

You do understand that I'm talking about a folder name, right?
Then windows' file system needs to conform to html syntax?
 
You do understand that I'm talking about a folder name, right?

But in the context of a .chm file... (Compressed HTML)
Then windows' file system needs to conform to html syntax?

No, not the Windows system itself, but the .chm file, *including* the path
to it...

// Bjorn A
 
Back
Top