Godot Version
4.6 Steam
Question
I want to remove all gamefiles from “user://“ How i can do that?
Since you create those files, you can just use DirAccess.remove(“user://your_file.txt”).
You should know / keep track of all the files your game created. Blindly going through every single file in a directory and deleting it is really bad practice. You don’t know what belongs to your game and what the user created themselves.