I am trying to figure out a way to launch the remote desktop application from clicking on a remote desktop icon within a Visio file for each of the PCs I have in DataMiner.
Under the advanced editing I have added shape data of Link with the following in the field: %windir%\system32\mstsc.exe /v:(IP of Element).
Where is says (IP of Element) I would like it to automatically apply the IP of the element that this Visio is applied to, instead of creating a unique Visio file with an IP for each element, but I'm not finding how to do that.
Can someone please help?
I believe we cannot use the environment variable for the Windows path when using the shape data field of type "Link" in Visio. However, if you use the mstsc.exe path directly, you can achieve this. Simply utilize this shape data value below of type "Link" on a remote desktop icon in Visio, and when clicked, it will launch the Remote Desktop application with the specified IP address.
To make the icon launch a remote session of the element via RDP without hardcoding the IP, please add the Shape Data and Values as below: