You need to set the working directory in the visual studio project properties.
- In the solution explorer > right click on the desired project > properties > set the "working directory" line to the desired directory.
If you're running from the command line, you need to go to the desired directory and launch the executable from there.
| rem Assuming you're in the code folder
cd ..\data
..\build\win32_handmade.exe
|