This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Wrong paths for pluginbasedir etc

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC7.56(a)/7.57 bug reports (English) Printable version
View previous topic :: View next topic  
Author Message
Lope
Junior Member
Junior Member


Joined: 26 Sep 2010
Posts: 22

PostPosted: Tue Dec 18, 2012 3:19 pm    Post subject: Wrong paths for pluginbasedir etc Reply with quote

I run total commander inside an encrypted volume using the command line option to specify that wincmd.ini must be used in the same folder, and the ftp config file must also be used in the same folder.

If I remember correctly a simple "wincmd.ini" was not good enough and I needed a full path, making it challenging to make TC portable, but its okay, I wrote a simple program to run it with the local path.

The plugin base dir is still wrong, and a relative "plugins\" can't be used there either.
The same goes for the 7zip plugin. 7z=plugins\7zip\7zip.wcx does not work there either.
Wouldn't it be simpler if it checked in (appdir)\plugins? without a static path for plugins read from the INI file? or at least checking there instead of not working?

So I had to adapt my program to edit the ini file and correct it before running.

Using TC any other way would be a massive security risk.
---------------------------------

Then I've got another version of TC outside of the encrypted volume, just in program files for quick file management stuff while the volume is not mounted.
On this one its a security risk that it saves so much history.
Quote:
left,right,SearchName,SearchIn,MkDirHistory,Command line history,SearchText,RenameTemplates,RenameSearchFind,RenameSearchReplace,RightHistory,LeftHistory


There should be an option to leave no history.
So I had to modify my program again to delete all that history from the ini file each time it is run.
Back to top
View user's profile Send private message
HolgerK
Power Member
Power Member


Joined: 26 Jan 2006
Posts: 4683
Location: Europe, Aachen

PostPosted: Tue Dec 18, 2012 3:32 pm    Post subject: Reply with quote

Quote:
to make TC portable

Environment variable %COMMANDER_PATH%\7z=plugins\7zip\7zip.wcx
and UseIniInProgramDir=7 in wincmd.ini placed inside the portable installation dir should do the trick.

Regards
Holger
Back to top
View user's profile Send private message Send e-mail
MVV
Power Member
Power Member


Joined: 03 Aug 2008
Posts: 7915
Location: Russian Federation

PostPosted: Wed Dec 19, 2012 8:25 am    Post subject: Reply with quote

History may be disabled partly in options, also you can redirect theese sections to some temporary INI file in temp dir.
_________________
TCFS2 + TCFS2Tools: Full-screen mode for TC etc (forum)
TOTALCMD.NET: AskParam, CopyTree, NTLinks, Sudo, VirtualPanel…
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC7.56(a)/7.57 bug reports (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group