To change path(location) were ini file should be created

 I have my Delphi.exe  program on desktop. And on desktop a get my ini file  itch time
i start my application.  how to create it somewhere else?
pr2501Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
MerijnBConnect With a Mentor Sr. Software EngineerCommented:
provide a path when you create the TIniFile class

var IniFile: TIniFile;
begin
 IniFile := TIniFile.Create('c:\windows\myini.ini');
 ...
end;
0
 
ziolkoCommented:
use registry

ziolko.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.