DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Suggestion: Rename ConfigDir.ini in Portable Zip FindAndRunRobot.zip  (Read 8,146 times)

ptran

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 33
I suggest that the ConfigDir.ini in the FindAndRunRobot.zip file be renamed to ConfigDir_Portable.ini. I'm making this suggestion because I don't want the ConfigDir.ini from the ZIP file to overwrite my custom settings in my ConfigDir.ini.

In the new portable zip of FARR, http://www.donationcoder.com/Software/Mouser/findrun/downloads/FindAndRunRobotPortable.zip, there's a ConfigDir.ini that sets the following variables:

PORTABLE=TRUE
CONFIGDIR=.

To prevent this ConfigDir.ini from overwriting my ConfigDir.ini, I first rename my ConfigDir.ini, extract the ZIP, and then restore my original ConfgiDir.ini. In my ConfigDir.ini, I don't set PORTABLE, and I assign CONFIGDIR to a different location than ".".

If other folks are also trying to maintain their own ConfigDir.ini while using the ZIP file, then this request is probably worthwhile. If I'm the only one running into this, then it's probably not worth the change.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Suggestion: Rename ConfigDir.ini in Portable Zip FindAndRunRobot.zip
« Reply #1 on: February 16, 2012, 01:50 AM »
Quote
I'm making this suggestion because I don't want the ConfigDir.ini from the ZIP file to overwrite my custom settings in my ConfigDir.ini.

a wise person alerted me to this before and i should have listened.

i was thinking what i might do is use a configdir_default.ini and configdir.ini, with the _default included in the zip.  so if you have your own configdir.ini it would take precedence over the default and never be overwritten.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Implemented; will be in update pushed out this weekend.

ptran

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 33
I'm posting to confirm the 2.105.1 zip file does not overwrite my customized ConfigDir.ini.

Thanks for the change!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Happy to oblige  :up:

Original address: https://www.donationcoder.com/forum/index.php?topic=29966.0