New approach for INI file location: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:


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

Revision as of 08:02, 28 June 2007

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_Ideas_and_suggestions