Antivirus prevents Platformio to create main.cpp

Hi All;

I am new to this group and a beginner in arduino.

When I try to create my first project using VSCode I get an error message saying that my antivirus prevents creating main.cpp, du to a ransomware risk.

When I changed the default directory , the problem disapear.

Any way to change the default directory for new projects?

Thanks a lot,

Taoufik

Duplicate of