Hi
Im trying to configure TC to my needs, I already created a custom button bar, to launch my usual apps and its working fine.
I want all path to be relative so that my TC install is portable, so I put all required programs in a TC subfolder.
My button bar consists in things like :
%COMMANDER_PATH%\Notepad++\Notepad++.exe
For internal associations, im using the TC menu in "files", Ive created multiple extensions, for instance *.txt and its associated action is :
"%COMMANDER_PATH%\Notepad++\Notepad++.exe" "%1"
At the moment , all things associated with Notepadd++ work, but now im trying to associate archives with peazip (portable), and the %commander_path% thing doesnt work for peazip, I have to use absolute path, then it works. Can it be a bug ?
Also, TC doesnt show me the app icons for those internal associated files..
Thanks
--edit--
I just replaced Peazip with winrar and it works...
It doesn't work for Sumatra pdf either...
Internal associations - relative paths
Moderators: Hacker, petermad, Stefan2, white
Re: Internal associations - relative paths
do you know aboutgeoslake wrote: , so I put all required programs in a TC subfolder.
Code: Select all
%COMMANDER_DRIVE%
my totalcmd is located on
Code: Select all
d:\Totalcmd\
Code: Select all
%COMMANDER_DRIVE%
Code: Select all
d:\
Code: Select all
%COMMANDER_DRIVE%\PortableApps\FirefoxPortable\FirefoxPortable.exe
it should look something like this:
Code: Select all
Filter211=*.txt
Filter211_open=%COMMANDER_PATH%\Tools\Notepad++\notepad++.exe "%1"
Filter211.icon=%COMMANDER_PATH%\Icons\Documents\txt.ico
If your portableApps use a wrapper, sometimes the wrapper does not send the parameters as you wish...geoslake wrote:Thanks for the help, anyway I wasn't able to get Peazip portable and a few more programs to work this way, so I gave up, some worked, some didn't, in a random way it seems.
Cheers.
About peazip portable, it works on my machine..
Did you set the command like this:
Code: Select all
"%COMMANDER_PATH%\tools\peazip\peazip.exe" "%1"
I was using the portable version from peazip :
http://peazip.sourceforge.net/peazip-portable.html
http://peazip.sourceforge.net/peazip-portable.html