473,789 Members | 2,893 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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#\do cs, 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 1995
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**********@D oNotSpam.hotmai l.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
8688
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 of the following fails, the database "creation" is rolledback. Otherwise, I would try deleting on error detection, but it could get messy. IF @Error = 0 BEGIN SET @ExecString = 'CREATE DATABASE ' + @FullName EXEC sp_executesql @ExecString
0
308
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 need to do to get my application to look for DLLs in the cgi-bin folder instead of the default bin folder? Can I expect success in getting DLLs to work in this way -- or, do I need to upgrade from a shared hosting to a dedicated server account?
6
2564
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 need to do to get my application to look for DLLs in the cgi-bin folder instead of the default bin folder? Can I expect success in getting DLLs to work in this way -- or, do I need to upgrade from a shared hosting to a dedicated server account?
4
1802
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 "InitializeComponent()". I want to capture all form details for a given form at design time (properties and controls) but I can't find anyway to do it. Note that reading a form's ".resx" files won't do either (it's only good for localized forms but in any...
7
24866
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 you! A Chinese student.
0
9511
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10408
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10139
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7529
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5417
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4092
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3697
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.