Some times I like to have different versions of the Arduino IDE installed. I would also like them not to use the same preferences file and Sketchbook directory.


In the lib/preferences.txt file is hiddien this little piece of cryptic note:

# if you don't want settings to go into "application data" on windows
# and "library" on macosx, set this to the alternate location.

What that is trying to say… as it is not obvious. Is that if I want to store my preferences.txt file in a directory relative to the current IDE… uncomment that line.

This now allows me to keep all settings and sketchbooks relative to the IDE.