New approach for INI file location

From TotalcmdWiki
Jump to: navigation, search

The INI file location can be setup using the INI file setting UseIniInProgramDir. This works fine but it could be more powerful.

It should be changed to a settings location file which is always located in the program dir. If it doesn't exist the already existing logic is used.

[Locations]
Main=C:\MyMain.ini
FTP=\\Server\CommonFTP.ini
History=%TEMP%\TC_Garbage.ini
...

When using the commandline /I= tells TC the path the settings location ini file. /F can be used for something else.



Back to Internal functions