Plugins in portable mode

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
karloch
Junior Member
Junior Member
Posts: 3
Joined: 2014-03-22, 23:30 UTC

Plugins in portable mode

Post by *karloch »

I have about 5 devices and it would be quite annoying setup Total Commander for each one and keep settings the same, so I think that running in a portable fashion through Dropbox would be really nice.

I was able to achieve that perfectly using the instructions I found in this forum, however, I'm not able to configure plugins. I really need the 7zip and SFTP ones. In order to achieve that, I need to use relative paths[/u] to the place Total Commander is running.

For example: my 7-Zip plugin is in E:\Dropbox\totalcmd\Plugins\7zip\7zip.wcx. As the Dropbox folder path can change from one computer to other, I would like to set the path to Plugins\7zip\7zip.wcx but it doesn't seems to work. That's for packers plugins, but with the other types I can't simply set a relative path.

So any idea to get the plugins working in portable fashion?
User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

Use environment variables:
%COMMANDER_DRIVE%\Dropbox\totalcmd\Plugins\7zip\7zip.wcx
or
%COMMANDER_PATH%\Plugins\7zip\7zip.wcx

where:
%COMMANDER_DRIVE% - drive where TC is installed
%COMMANDER_PATH% - TC directory
karloch
Junior Member
Junior Member
Posts: 3
Joined: 2014-03-22, 23:30 UTC

Post by *karloch »

Thank you Gral, that worked perfectly with Packers plugins, 7-Zip is now working perfectly. However, it looks like it not possible to do the same with File System plugins as they use standard Windows file selection dialog rather than letting me put the path manually.

If I enter the environment variable in the path of the dialog, it will be automatically converted to the real path.

Ideas?
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1052
Joined: 2004-07-29, 11:00 UTC

Post by *ZoSTeR »

Just edit the wincmd.ini manually. For example:

Code: Select all

[FileSystemPlugins]
DiskInternals Reader=%Commander_Path%\Plugins\wfx\DiskInternals_reader\DiskInternals_reader.wfx
karloch
Junior Member
Junior Member
Posts: 3
Joined: 2014-03-22, 23:30 UTC

Post by *karloch »

Brillant! At last every plugin working like a charm from Dropbox portable install. Many thanks!
Post Reply