You can probably shave off all the environment variable stuff and just use direct filenames as the strings.
Starting in Game Maker Studio they sandboxed the environment, meaning you can only save to a certain predetermined spot unless you get around it with an extension or directly ask the user for a directory with certain functions. It shoves game saves in %localappdata%\<Game Name>. If you want a specific single directory rather than the forced one, you'll want to track down an extension to do so - this one may or may not help? (Seemed to be the only free one of this kind that claimed GMS2 compatibility, but I can't test this myself.)
https://docs2.yoyogames.com/source/_buil...ystem.html - This explains it infinitely better than I can.
Starting in Game Maker Studio they sandboxed the environment, meaning you can only save to a certain predetermined spot unless you get around it with an extension or directly ask the user for a directory with certain functions. It shoves game saves in %localappdata%\<Game Name>. If you want a specific single directory rather than the forced one, you'll want to track down an extension to do so - this one may or may not help? (Seemed to be the only free one of this kind that claimed GMS2 compatibility, but I can't test this myself.)
https://docs2.yoyogames.com/source/_buil...ystem.html - This explains it infinitely better than I can.



![[-]](https://forums.mfgg.net/images/emerald/collapse.png)