Forum / Remote Desktop Manager - Support

Macro to open \\hostname\c$ in windows explorer

  • Create an Issue
  • Cancel

Hi,

I'm trying to create a macro (or something else that works like that)
that if i select a host entry (RDP session) and right click delete macro it will open in windows explorer

\\server\c$

meaning the c$ of the server selected.

Try to use the CMD macro but i cannot pass in the arguments the hostname tried something like that
explorer.exe "\\{hostname}\c$"

any ideas ?

Many thanks
Vassilis

RDM for Windows 7 x64
Purchased Enterprise Edition v2019.x

Clock3 mths

Hello Vassilis,

it should work with the following variable:

\\$HOST$\c$

Attached you'll find a working sample session.

The full set of available variables you'll find here

Regards,
Min

explorer.rdm
Clock3 mths

perfect, it works !
i was looking for that variable page but couldn't find it smile

RDM for Windows 7 x64
Purchased Enterprise Edition v2019.x

Clock3 mths

Perfect, thanks for your feedback wink

PS: it is also possible to open the variables directly from the session - you'll find the button in the left bottom of the session properties
image

Regards,
Min

Clock3 mths

wow! again, didn't know that Big Grin

Thanks Min, Happy Holidays!

RDM for Windows 7 x64
Purchased Enterprise Edition v2019.x

Clock3 mths

You're welcome! Cool

Thanks, and same to you wink

Regards,
Min

Clock3 mths