TC: really portable?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
sticazzi
Junior Member
Junior Member
Posts: 39
Joined: 2007-09-09, 14:56 UTC

TC: really portable?

Post by *sticazzi »

Hi everybody.

Is it possibile to get TC to work in REALLY portable mode?

"Really portable" means NO Registry entries, no entries in C:\Documents and Settings\All Users\Application Data, C:\Documents and Settings\user\Application Data, C:\Documents and Settings\user\Local Settings\Application Data, etc. (no writing data outside TC directory).

thanks :)
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Just below

Post by *Clo »

2sticazzi

:) Hello ! Welcome aboard !

• The answer is here just below you thread :

>>>•<<<

:mrgreen: Kind regards,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Re: Just below

Post by *m^2 »

Clo wrote:2sticazzi

:) Hello ! Welcome aboard !

• The answer is here just below you thread :

>>>•<<<

:mrgreen: Kind regards,
Claude
Clo
"Portable" != "U3"
Many people want portablility w/out U3 devices (I use my cell which is not U3 compatible...).
So the correct answer is:
It can be. Place your wincmd.ini in Total Commander's directory and write in [Configuration] section UseIniInProgramDir=7
User avatar
Ennovy
Junior Member
Junior Member
Posts: 31
Joined: 2007-06-14, 09:49 UTC
Location: The Netherlands
Contact:

Post by *Ennovy »

Entries in the user profile folder e.g. c:\documents and settings\.... Standard TC is using this folder for thumbnail cache database.
You can change the folder by choosing configuration/thumbnails/database location, or leave the field empty to prevent caching.
Further indeed copy the .ini file to TC folder and it contains at least these lines:

[Configuration]
InstallDir=E:\Portable Applications\totalcmd7\ . change to your path !!
LogFile=E:\Portable Applications\totalcmd7\TotalCmd.log
IgnoreListFile=E:\Portable Applications\totalcmd7\TotalCmdIgnore.txt

So everything is written in the TC folder
#134575 Personal licence
Total Commander 9
Windows 10 64bit

Tough times never last, tough people do!
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Ennovy wrote:Entries in the user profile folder e.g. c:\documents and settings\.... Standard TC is using this folder for thumbnail cache database.
You can change the folder by choosing configuration/thumbnails/database location, or leave the field empty to prevent caching.
Indeed, I forgot about it :oops:
Ennovy wrote:Further indeed copy the .ini file to TC folder and it contains at least these lines:

[Configuration]
InstallDir=E:\Portable Applications\totalcmd7\ . change to your path !!
LogFile=E:\Portable Applications\totalcmd7\TotalCmd.log
IgnoreListFile=E:\Portable Applications\totalcmd7\TotalCmdIgnore.txt

So everything is written in the TC folder
This is incorrect. For portablility you should always use paths relative to %COMMANDER_PATH%.
Anyway, by default it's not needed!
InstallDir - is not needed, TC works perfectly w/out this entry.
LogFile - by default logging is disabled, so it has to be modified only if you turn it on. And while doing this you'll see that the default position is in temp...
IgnoreListFile - also disabled by default. And when turned on - it's stored (IIRC) in %COMMANDER_INI%\..\tcignore.txt. Anyway, w/out IgnoreListFile ini entry, it is portable.
User avatar
Ennovy
Junior Member
Junior Member
Posts: 31
Joined: 2007-06-14, 09:49 UTC
Location: The Netherlands
Contact:

Post by *Ennovy »

2m^2
Thanks for your additional info!
It's very useful information for me :D
#134575 Personal licence
Total Commander 9
Windows 10 64bit

Tough times never last, tough people do!
User avatar
pajo
Member
Member
Posts: 181
Joined: 2005-02-18, 17:57 UTC
Location: Croatia

Post by *pajo »

2 sticazzi

I use TC with lot of plugins on mine usb stick without any problem :-)
sticazzi
Junior Member
Junior Member
Posts: 39
Joined: 2007-09-09, 14:56 UTC

Post by *sticazzi »

So, here is the steps:

1- put wincmd.ini and wcx_ftp.ini in TC directory.
2- In wincmd.ini write/edit the following:

[Configuration]
UseIniInProgramDir=7
InstallDir=%COMMANDER_PATH%
ThumbsLocation=%COMMANDER_PATH%
TabDir=%COMMANDER_PATH%
pluginbasedir=%COMMANDER_PATH%\Plugins
Buttonbar=%COMMANDER_PATH%\default.bar


Is it correct? Is it portable to 100%?
In particular, i don't want TC writes in the host PC's Registry (usually, i use RegShot to check).

many thanks 8)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48166
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Have you tried the official tc2usb tool? It does most of this automatically, including the addition of plugins:
http://www.ghisler.com/usbinst.htm

All you need is an existing installation of Total Commander on one PC. You must then start tc2usb from inside this running Total Commander (not just from the TC directory).
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14856
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2sticazzi
i don't want TC writes in the host PC's Registry
Then make sure, not to click on the "Configuration" button in "Configuration" -> "Options" -> "Misc." -> "Custom sounds".

It will make a Total Commander section in your regístry:

Code: Select all

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd]
@="Total Commander"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdConnected]
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdConnected\.current]
@=""
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdConnected\.default]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdCopyComplete]
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdCopyComplete\.current]
@=""
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdCopyComplete\.default]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdDeleteComplete]
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdDeleteComplete\.current]
@=""
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdDeleteComplete\.default]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdPackComplete]
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdPackComplete\.current]
@=""
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdPackComplete\.default]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdSearchComplete]
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdSearchComplete\.current]
@=""
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdSearchComplete\.default]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdTransferComplete]
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdTransferComplete\.current]
@=""
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdTransferComplete\.default]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdUnpackComplete]
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdUnpackComplete\.current]
@=""
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdUnpackComplete\.default]
@=""
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
sticazzi
Junior Member
Junior Member
Posts: 39
Joined: 2007-09-09, 14:56 UTC

Post by *sticazzi »

petermad wrote:2sticazzi
i don't want TC writes in the host PC's Registry
Then make sure, not to click on the "Configuration" button in "Configuration" -> "Options" -> "Misc." -> "Custom sounds".

It will make a Total Commander section in your regístry:

Gulp! I didn't know that (it's not officially documented, right?), very very useful info :idea: , thanks a lot.
User avatar
petermad
Power Member
Power Member
Posts: 14856
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2sticazzi
it's not officially documented, right?
Well, indirectly - The help file says:
Opens the part of the control panel which allows to define custom sounds. There is a separate section for Total Commander, usually at the end of the list.
"control panel" indicates that it is a Windows setting - hence written to the registry.


Also the history file says:
19.12.05 Fixed: When started from U3 USB stick, hide configuration to change custom sounds (they would be stored in the registry)
indicating dealing with the same problem.

But what isn't documented is that just clicking the button causes writing to the registry.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply