Multi Commander > Support and Feedback
MC install path
(1/1)
karthik:
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.
Mathias (Author):
Relative path might works ?
--- Code: ---WScript ${mcinstallpath}..\FreefileSync\HideConsole.vbs ${mcinstallpath}..\FreefileSync\Compare.cmd "${leftpath}" "${rightpath}"
--- End code ---
karthik:
Thanks for the suggestion. The line works with a slight modification (addition of a \ after the mcinstall path)
This works:
WScript ${mcinstallpath}\..\FreefileSync\HideConsole.vbs ${mcinstallpath}\..\FreefileSync\Compare.cmd "${leftpath}" "${rightpath}"
Thanks again.
Navigation
[0] Message Index
Go to full version