473,387 Members | 1,510 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

_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.
Nov 23 '05 #1
5 1976
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
Nov 23 '05 #2
_DG
On Mon, 21 Nov 2005 20:58:55 -0600, "D. Yates" <fo****@hotmail.com>
wrote:
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.

Nov 23 '05 #3

"_DG" wrote...
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
Nov 23 '05 #4
_DG
On Tue, 22 Nov 2005 15:30:07 +0100, "Bjorn Abelli"
<bj**********@DoNotSpam.hotmail.com> wrote:

"_DG" wrote...
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 "#".


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

Nov 23 '05 #5

"_DG" wrote...
"Bjorn Abelli" wrote:
"_DG" wrote...
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 "#".


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
Nov 23 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Robin Tucker | last post by:
I have some code that dynamically creates a database (name is @FullName) and then creates a table within that database. Is it possible to wrap these things into a transaction such that if any one...
0
by: Kevin Mitchell | last post by:
I have an NT shared hosting account, but the provider names the script/write folder cgi-bin. I want to place DLLs in the cgi-bin directory and get them to work in my Web applications. What do I...
6
by: Kevin Mitchell | last post by:
I have an NT shared hosting account, but the provider names the script/write folder cgi-bin. I want to place DLLs in the cgi-bin directory and get them to work in my Web applications. What do I...
4
by: Larry Smith | last post by:
Hi there, Don't know if I picked the correct NGs or not but maybe someone can steer me in the right direction. Does anyone know if a class exists to capture the same info now wrapped in...
7
by: vvkl | last post by:
I have readed a example code from MSDN about FormsAuthenticationTicket calss, but there's a line I can't understand : 'strRedirect = Request;' What's the mean in which square brackets? Thank...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.