New approach for INI file location: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
(Backlink)
 
Line 12: Line 12:




{{backlink|Internal_functions_Ideas_and_suggestions|Internal_functions_Ideas_and_suggestions}}
{{backlink|Internal functions Ideas and suggestions|Internal functions}}

Latest revision as of 08:04, 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