PDA

View Full Version : How can I specify the path in user PC Corretly? pls help.



Abo Anas
09-28-2006, 06:20 AM
Good day Gentelmen

I need your experience to do the following:

I would like to have HTML page in my CD. The HTML page contains links to some files saved in the CD under Autoplay/Doc. The question how can I specify the drive letter when I write the path because as you know the cd drive letter is different from one pc to another. some are using E others may use G, H, or I ... etc. How can I write the link so, it can reach to the file regardless of the drive letter. For your information I want the HTML file to open inside the AMS.

Regards

sue
09-28-2006, 06:59 AM
Good Day,

If you're running your app from the CD then on the HTML page your links should be relative to your link page. So if your link page is also in your AutoPlay/docs folder then you just use <a href="PAGENAME.HTM">LINK NAME</a> . If your links page is in the root then you would use <a href="AutoPlay/Docs/Pagename.htm">LINK NAME</a>

HTH

Sue