I am doing a user defined command and for that I need to get the MC install path - which I can get from ${mcinstallpath}. I need to go up one directory and add a different directory to it. For example if MC install path is C:\Portable\Multicommander, I am writing a Uerdefined command which has the following text:
WScript C:\Portable\FreefileSync\HideConsole.vbs C:\Portable\FreefileSync\Compare.cmd "${leftpath}" "${rightpath}"
I would like to replace the C:\Portable using the main path of multicommander installation. How do I do that?
Thanks.