diff --git a/projects/openrct2.vcxproj b/projects/openrct2.vcxproj
index 8a16578e6f..8f816b7700 100644
--- a/projects/openrct2.vcxproj
+++ b/projects/openrct2.vcxproj
@@ -378,7 +378,7 @@
winmm.lib;sdl2.lib;%(AdditionalDependencies)
- "$(TargetDir)\openrct2.exe" sprite build "$(SolutionDir)\..\Data\g2.dat" "$(SolutionDir)\..\Resources\g2\"
+ "$(TargetDir)\openrct2.exe" sprite build "$(SolutionDir)\\..\\Data\\g2.dat" "$(SolutionDir)\\..\\Resources\\g2\\"
xcopy /YS "$(SolutionDir)\..\Data" "$(TargetDir)\Data"
Build g2.dat and copy the Data directory.