Execute batch script from Firefox

I wrote an intranet application from which you can directly connect to a virtual machine by clicking the RDP button. Clicking brings up the .bat file, which opens the connection.

In IE, this is not a problem as you can directly execute the batch file. But with Firefox I can only load the script and you have to run it manually after that. Is there a way to trust the intranet domain (about: config?) So that Firefox will let it run scripts directly? Or is there an even better (easier) way to start an RDP connection from Firefox?

+2


a source to share


2 answers


You can easily register your own protocol handler like " myrdp://somedata

" to start the application that opens the VM (this is probably working with a .bat, it works with a WSH script, a small exe better) IE / FF supports this feature and lets you just just<a href="myrdp://somedata" ..>



+2


a source


You can also try to configure your firefox to open .rdp files automatically with the default rdp client. This way, the files will be loaded in a temporary directory and launched immediately.



You can do this in Firefox preferences. Hope this helps)

+2


a source







All Articles