문제

I have written an intranet application from which you can directly connect to a virtual machine by clicking on a RDP-button. The click calls a .bat file, which opens the connection.

With IE, this is no problem, as you can choose to directly execute the batch file. But with Firefox, I can only download the script, and have to start it manually afterwards. Is there a way to trust the intranet domain (about:config?) so Firefox allows it to execute scripts directly? Or is there an even better (easier) way to start an RDP connection from Firefox?

도움이 되었습니까?

해결책

You can easily register a custom protocol handler such as "myrdp://somedata" to run the app that opens the VM (This would probably work with a .bat, it works with a WSH script, better a small exe) IE/FF support this functionality and allow you to then simply <a href="myrdp://somedata" ..>

다른 팁

You could also try to set up your firefox to automatically open the .rdp files with the default rdp client. This way the files will be downloaded in a temp dir and immediately started up.

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top