Relative shortcut.

P

Peter B

I have a folder containg subfolders each containing a photo gallery which is
activated by an index.htm file. I wish to create relative shortcuts in the
main folder to acitvate the respective photo galleries. The idea is that I
can write the folder to CD and show the photo galleries on other computers
direct form the CD.

The normal method of copying the file and pasting shortcut only creates an
absolute shortcut, and will of course not work as I want. I have tried
amending the paths in the Target and Start In boxes as follows :
'..\sub_folder_name', but I get an error message saying that this is not a
valid file name.

Is there a way of doing this, please?

Peter
 
S

Stan Brown

I have a folder containg subfolders each containing a photo gallery which is
activated by an index.htm file. I wish to create relative shortcuts in the
main folder to acitvate the respective photo galleries. The idea is that I
can write the folder to CD and show the photo galleries on other computers
direct form the CD.

The normal method of copying the file and pasting shortcut only creates an
absolute shortcut, and will of course not work as I want. I have tried
amending the paths in the Target and Start In boxes as follows :
'..\sub_folder_name', but I get an error message saying that this is not a
valid file name.

Is there a way of doing this, please?

Not without using the command prompt.

But why not just make a master HTML document that has clickable
relative links to the other documents? That's how I solved a similar
problem.
 
P

Peter B

But why not just make a master HTML document that has clickable
relative links to the other documents? That's how I solved a similar
problem.
Thanks. I am not very skilled with HTML, but will se what I can manage.

Peter
 
R

Ramesh, MS-MVP

Hi Peter,

You could post the names of the main folder and the sub-folders, and also the href tags you're using.

This one works fine here:
- - -
<a href="video/index.htm">Sample</a>
<a href="music/index.htm">Music</a>
- - -

Where the folders "video" and "music" are present under the main folder.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


I have a folder containg subfolders each containing a photo gallery which is
activated by an index.htm file. I wish to create relative shortcuts in the
main folder to acitvate the respective photo galleries. The idea is that I
can write the folder to CD and show the photo galleries on other computers
direct form the CD.

The normal method of copying the file and pasting shortcut only creates an
absolute shortcut, and will of course not work as I want. I have tried
amending the paths in the Target and Start In boxes as follows :
'..\sub_folder_name', but I get an error message saying that this is not a
valid file name.

Is there a way of doing this, please?

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top