Variabel to Folder name

Variabel to Folder name

avatar

Hi

If I have this example folder structure:
-Root
--Costumer (Folder)
---Server1 (Folder of type Server)
----RDP (Connection)

What Variable will return "Server 1" on the RDP Connection?

I have tried $group$ but it gives me the complete path.

Regards Lars

Remote Desktop Manager connected with Devolutions Server running newest versions.

------------------------Signature------------------------

Sorry if any of above sounds harsh or provoking, it is NOT meant as such, but I have Asperger's and don't always know.
My intentions is always to be friendly.

-------------------------------------------------------------

All Comments (6)

avatar

Hello Lars,

$FOLDER_NAME$


should be work in your case.

Regards,
Min

avatar

Hi

Thank you for you promt reply, unfortunately it return "Costumer" :S

EDIT: "Server 1" is a "Folder" of type "Server" if that changes somthing :)

Regards

Remote Desktop Manager connected with Devolutions Server running newest versions.

------------------------Signature------------------------

Sorry if any of above sounds harsh or provoking, it is NOT meant as such, but I have Asperger's and don't always know.
My intentions is always to be friendly.

-------------------------------------------------------------

avatar

Hello Lars,

are the Customer and Server1 all Folder types? Which RDM version and data source do you use?

On my side it looks like this (RDM 2022.2.8.0 on SQL) :
forum image
Properties from test RDP:
forum image

Regards,
Min

avatar

Hi

I have updated original post, so I hope it answers you question.
I'm using RDM 2022.1.27.0 64-bit with DVLS 2022.1

Regards

Remote Desktop Manager connected with Devolutions Server running newest versions.

------------------------Signature------------------------

Sorry if any of above sounds harsh or provoking, it is NOT meant as such, but I have Asperger's and don't always know.
My intentions is always to be friendly.

-------------------------------------------------------------

avatar

Hello Lars,

thanks for the update. Alright, if you use Server as folder type the correct variable is

$COMPUTER_NAME$


Because of the folder type Server the object will be seen as Computer, not as Folder, therefore the different variable.

Regards,
Min

avatar

Ahhh, thank you!

Remote Desktop Manager connected with Devolutions Server running newest versions.

------------------------Signature------------------------

Sorry if any of above sounds harsh or provoking, it is NOT meant as such, but I have Asperger's and don't always know.
My intentions is always to be friendly.

-------------------------------------------------------------