How do I create directories and files within the user's AppData directory?
问题 So, I'm creating a game and need to create directories to store all the user's data and saves and whatnot. As you can see, I need to create a folder in the Application Data folder of the user called, "[WarDungeon]", and there, I will store other folders for such data like levels, the bin, sprites, etc. I am not too interested in working with Mac OS and Linux as I want to get the %appdata% folder working with Windows to begin with. Here's my code: public FileManage() { gamePath = System.getenv