diff --git a/compile.bat b/compile.bat
index 97b30e34b1cc673fe58a0ecf273da77105990274..b92a3b4563ae0dabc5417d0fc6b581d5e3fce300 100644
--- a/compile.bat
+++ b/compile.bat
@@ -35,7 +35,7 @@ if %PROCESSOR_ARCHITECTURE% == AMD64 (
 	CALL "%~dp0devTools\tweeGo\tweego_win86.exe" -o "%~dp0bin/FC_pregmod.html" --module=bin/fc.js --head devTools/head.html "%~dp0src"
 )
 DEL bin\fc.js
-DEL "%~dp0src\002-config\fc-version.js.commitHash.js"
+IF EXIST "%~dp0src\002-config\fc-version.js.commitHash.js" DEL "%~dp0src\002-config\fc-version.js.commitHash.js"
 
 popd
 ECHO Done