Arduino IDE (Arduino15 folder)

Hello.

I want the 'Arduino15' folder to be on the D: drive, so I used ‘mklink’ to achieve this. Unfortunately, for some reason, the Arduino IDE isn't working properly – it always wants to load some libraries when it starts. When it's on the C: drive, everything works fine. What could be the problem?

Hi @PRLJacek. Which version of Arduino IDE are you using (e.g., "2.3.6")? The version is shown on the window title bar and also in the dialog that opens when you select Help > About (or Arduino IDE > About Arduino IDE for macOS users) from the Arduino IDE menus.

I ask for this information because I want to give you the appropriate instructions for the IDE version you are using.

Please provide a more detailed description of what you mean by this.

Are you drawing this conclusion from a message you see in Arduino IDE? If so, please provide the full and exact text of the message.

Hi, it is 2.3.6 version.

Please look at this picture:

https://moj.pl/obraz/1.jpg

Hi, it is 2.3.6 version.

Please look at this picture:

https://moj.pl/obraz/1.jpg

Arduino IDE stores various files in the "data folder".

The default location of the "data folder" is:

C:\Users\<username>\AppData\Local\Arduino15\

(Where <username> is your Windows username)

However, the location is configurable via a configuration file. The location of the configuration file is:

C:\Users\<username>\.arduinoIDE\arduino-cli.yaml

(where <username> is your Windows username)

The "data folder" location is configured via the directories.data key in that configuration file.

So my recommended solution is to do this:

  1. Select File > Quit from the Arduino IDE menus if it is running.
    All Arduino IDE windows will close.
  2. Remove the symbolic link/directory junction/whatever you created using mklink.
  3. Start any text editor application.
  4. Open the file at the following path on your hard drive:
    C:\Users\<username>\.arduinoIDE\arduino-cli.yaml
    
    (where <username> is your Windows username)
  5. Add the following lines to the bottom of the arduino-cli.yaml file:
    directories:
     data: <data folder path>
    
  6. Replace the <data folder path> placeholder with the full path of the location you want to use for the "data folder" (e.g., D:\Arduino15).
  7. Save the file.

Thank you very much for your help! It works fine now. :slight_smile: The problem is solved.

You are welcome. I'm glad it is working now.

Regards, Per