Jump to content

Use JavaScript to Call Local Programs With Commandline Switches


Recommended Posts

<A HREF="java script:;" TARGET="_self" ONCLICK=" ShellExJ('D:/Portable Programs/mIRC/Mirc.exe -portable')">mIRC</A>

is the line i want to use and itd be no problem if it werent for the -portable switch. how can i make it so its something like the regular target box in a normal shortcut.

normal shorcut format is like this:

"D:/Portable Programs/mIRC/Mirc.exe" -portable

if i add quotes and leave the -portable out then its invalid or something.

this is for purposes of an active desktop setup. not remote use only local. so theres no issue about calling to a local file.

also when loading the file i get a bunch of script errors but everything validates in dreamweaver so i dont know.

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...