How to force Godot 4.6.3 to use editor_data folder on D: drive instead of C: for export templates?

Godot Version

4.6.3

Question

I’m using Godot 4.6.3 on Windows (non-Steam). The Godot_v4.6.3-stable_win64.exe is located in D:\Godot. I want the export templates to be stored in D: drive, not in the default C:\Users\[User]\AppData\Roaming\Godot\export_templates. I created an editor_data folder next to the exe (D:\Godot\editor_data), and copied all contents from %APPDATA%\Godot into it. However, when I open the editor and click “Download and Install” in the Manage Export Templates window, the templates still get downloaded to the C: path, and the C: folder “resurrects” (gets recreated and populated). The D: drive editor_data folder remains untouched. How can I make Godot actually use the editor_data on D: drive for all editor data, especially export templates? Is there a missing step or a different approach?

When you click on Export and you create a target, enable the “advanced options” and you’ll be able to point to the export template at any location on your PC.

You can run Godot in a self-contained mode by adding an empty file with the name _sc_ or ._sc_ next to the editor executable.

Thank you, I create a folder and export template in it.

Thank you, I create one folder names _sc_ .but it did not export the game in _sc_ file. Instead , it load in another file automatically. But i will keep _sc_ file for in case.

_sc_ is a file not a folder.

Thanks for remind, I have changed it to a file(text document).