Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open link with a Windows relative part %windir%

Status
Not open for further replies.

MoshiachNow

IS-IT--Management
Feb 6, 2002
1,851
IL
HI,
I try to open a link using %windir% in path:

<LI><A HREF="%windir%/temp/MainSetupLog.log">F </A></LI>

The browser does not seem to find the file.
However,If I paste in the Address window:

file:///%windir%/temp/MainSetupLog.log

It does open it properly.
Where is my problem ?
Thanks




Long live king Moshiach !
 
Have you tried adding the 'file' desigination to your hyperlink?
 
I'd expect you can't do that, seems to me a security hole, a very easy way to introduce malicious code.

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top