G 
		
								
				
				
			
		Guest
I am attempting to run a .exe from a html link.  When I do this of course I get the download dialog box, which I do not want I just want it to execute.  So I then tried the script located at the end of this message.  This works but I have on problem I am going to deploy this web page on a cd (.exe will also reside on the cd) and depending on the system the drive letter changes.  So my question is how can I run a .exe from an html page or script without specifying the drive letter.  I want to execute the .exe by locating of the .exe relative to the html page, simalar to loading images in html
Thanks in advance
Ro
<html><Head><script language = "vbscript"
Sub Router(
set WsShell = createobject("wscript.shell"
set wsx = WsShell.exec("[drive letter]:\<folder name>\*.exe"
End Su
</script></head><body><form><input type="Button" value="Click Here" onclick="Router()"></form></body></html>
				
			Thanks in advance
Ro
<html><Head><script language = "vbscript"
Sub Router(
set WsShell = createobject("wscript.shell"
set wsx = WsShell.exec("[drive letter]:\<folder name>\*.exe"
End Su
</script></head><body><form><input type="Button" value="Click Here" onclick="Router()"></form></body></html>