View Full Version : HTML help....
Tom (aka Godzilla)
11-17-2004, 12:00 PM
I'm trying to get an href link to include command line arguements.
The command line if I typed it directly would be "c:\putty.exe –ssh rohan.sdsu.edu"
If use href=c:\putty.exe, it will execute the program. But, if I put in the arguements, I get "Cannot find c:\putty......."
Thanks in advance.
bugzy
11-17-2004, 12:00 PM
putty.exe would have to be local on the client
is putty.exe on the webserver or on the web client?
audiracer2002
11-17-2004, 12:52 PM
yeah, the exe file needs to be someplace absolute and accessible, then point your href at it. having a link point from a web server, to a file local on your system isn't going to work since you are not running a web server and the link will then look for the c drive on the web server where its originating.
madajb
11-17-2004, 01:52 PM
It actually runs putty?
Well then...try with the href= quoted:
a href="file:///c:/putty example.com"
-ajb
Tom (aka Godzilla)
11-17-2004, 02:20 PM
putty.exe is on the local machine and executes just fine without the arguements in it.
<href=â€c:\putty.exeâ€> works
<href=â€c:\putty.exe –ssh rohan.sdsu.eduâ€> does not
madajb
11-17-2004, 03:00 PM
Just a guess, but try a %20 for the spaces.
So "putty.exe%20-ssh%20rohan.sdsu.edu"
Otherwise, you could just write a batch file to do it.
-ajb
bugzy
11-17-2004, 05:20 PM
Just a guess, but try a %20 for the spaces.
So "putty.exe%20-ssh%20rohan.sdsu.edu"
Otherwise, you could just write a batch file to do it.
-ajb
i think mad is right
the space is messing it up ...
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.