问题
How can I check if an INIfile exists? in a specific path and under a specific name?
回答1:
For instance this way ...
if FileExists('c:\yourinifile.ini') then
ShowMessage('c:\yourinifile.ini exists :)');
回答2:
Call FileExists passing the full path to the file. So, just the same as you would do for any file.
来源:https://stackoverflow.com/questions/5462260/check-inifile-exist-delphi