Newb: Coping an *.ini back and fourth
Hello all,
I have a database app that I would like to make portable. When it starts, it wants to read its configuration from an *.INI. The location for the *.INI is hard-coded in the single executable, it's always C:\Books-db\bdb.ini. The mapping for the actual database file is in that *.ini. The *.ini gets heavily modified in every session.
What I want to achieve is that I can keep both the *.exe and the database file on the stick. When it launches, I would like to copy the *.ini to C:\, to the folder it wants and after the program is done, I would like to copy the *.ini back.
- Read more about Newb: Coping an *.ini back and fourth
- 1 comment
- Log in or register to post comments