TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
rulec444
NA
81
0
direct users to folder with space in name
Jan 27 2005 10:40 AM
After searching this site, I've been unsuccessful at finding a solution to my issue. From a javascript menu, I am trying to allow my user to click on a menu item and have them directed to a folder on a shared drive. However, I cannot get this to work because the folder name has spaces in it. In the addmenu portion of the code, this is what I have: addmenu(menu=["docs", ,,120,1,"",style1,,"left",effect,,,,,,,,,,,, ,"Documentation",href="\\X:\\Target Folder\\2nd Target Folder\\Databases",,,1 ]) I've tried: 1. referencing the spaces with an underscore or an ampersand 2. Putting quotes around the folder name (w/ and w/o a slash before the quotes) 3. prefacing the space with a \ 4. putting brackets and single quotes around the folder name 5. referencing the protocol "file" before the directory, like this: ,"Documentation",href="file:\\X:\\Target Folder\\2nd Target Folder\\Databases",,,1 But, none of these will open the folder since Target Folder is not one word. When I try this, it just tries to open a folder named "Target" on X and states the Page Could Not Be Found. Unfortunately, the easy fix would just be to eleminate the spaces from the name of the folder but I can't since other's already have desktop links to it. Any ideas on how I can fix this? Thanks.
Reply
Answers (
1
)
datagrid problem with dynamically bound columns
Can ASP see a session variable from a ASP.NET page?