How to get path to wincmd.ini/totalcmd.ini from plugin?
Moderators: Hacker, petermad, Stefan2, white
How to get path to wincmd.ini/totalcmd.ini from plugin?
How to I get path to wincmd.ini/totalcmd.ini from archiver plugin (*.wcx)?
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
It should be in the registry under
If TC has been correctly installed.
Code: Select all
\HKEY_CURRENT_USER\Software\Ghisler\Total Commander\IniFileName
\HKEY_CURRENT_USER\Software\Ghisler\Total Commander\FtpIniName
I switched to Linux, bye and thanks for all the fish!
Plz don't use this damned registry settings.
Correct way is described in "Plugin Reference"
Plz have a look here:
http://www.ghisler.ch/board/viewtopic.php?p=56513�
Correct way is described in "Plugin Reference"
Plz have a look here:
http://www.ghisler.ch/board/viewtopic.php?p=56513�
The doorstep to the temple of wisdom is a knowledge of our own ignorance. Benjamin Franklin
2 nevidimka[\b]
Its param (DefaultIniName) correct sets to path to wincmd.ini via totalcmd.exe /i=%samepath%\wincmd.ini param?
If its true, its very good
))
2 SanskritFritz
Registry keys not always point to correct path.
Starting with TC 6.5 in command line param you can change path, and wincmd.ini have same keys for changing search behavior for TC to wincmd.ini file.
PackDefaultParamStruct ...
DefaultIniName Suggested location+name of the ini file where the plugin could store its data. This is a fully qualified path+file name, and will be in the same directory as the wincmd.ini. It's recommended to store the plugin data in this file or at least in this directory, because the plugin directory or the Windows directory may not be writable!
Its param (DefaultIniName) correct sets to path to wincmd.ini via totalcmd.exe /i=%samepath%\wincmd.ini param?
If its true, its very good

2 SanskritFritz
Registry keys not always point to correct path.
Starting with TC 6.5 in command line param you can change path, and wincmd.ini have same keys for changing search behavior for TC to wincmd.ini file.
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
2vserd
Yes and no. The directory path is the same as the directory path of the Total Commander main settings file. But this doesn't mean its name has to be Wincmd.ini or Totalcmd.ini.Its param (DefaultIniName) correct sets to path to wincmd.ini via totalcmd.exe /i=%samepath%\wincmd.ini param?
If its true, its very good Smile
Last edited by Lefteous on 2005-04-26, 22:27 UTC, edited 1 time in total.