Hi Anu,
If you want to run the RDP executable when a user clicks on a link, surely instead of calling WScript to run it, simply use the following link code:
[code=html]<a href="file://C:/WINDOWS/system32/mstsc.exe%20\/r%20YOURIPHERE" >Click to launch Remote Desktop</a>[/code]
That way, you avoid the problem of getting a piece of VBS code downloaded and run on the user's machine as you parse the server's IP into the link and when the user clicks on it it gets passed to the local application instance of RDP.
medicineworker
If you want to run the RDP executable when a user clicks on a link, surely instead of calling WScript to run it, simply use the following link code:
[code=html]<a href="file://C:/WINDOWS/system32/mstsc.exe%20\/r%20YOURIPHERE" >Click to launch Remote Desktop</a>[/code]
That way, you avoid the problem of getting a piece of VBS code downloaded and run on the user's machine as you parse the server's IP into the link and when the user clicks on it it gets passed to the local application instance of RDP.
medicineworker
Comment