diff --git a/windows/netgen.vcproj b/windows/netgen.vcproj
index 64f5d6d9..68c0c092 100644
--- a/windows/netgen.vcproj
+++ b/windows/netgen.vcproj
@@ -94,7 +94,7 @@
@@ -416,11 +416,11 @@
>
diff --git a/windows/nglib.vcproj b/windows/nglib.vcproj
index 3c54ff4c..a55518f2 100644
--- a/windows/nglib.vcproj
+++ b/windows/nglib.vcproj
@@ -92,7 +92,7 @@
/>
diff --git a/windows/nglib_MSVC2005.vcproj b/windows/nglib_MSVC2005.vcproj
index ced6bc45..67716348 100644
--- a/windows/nglib_MSVC2005.vcproj
+++ b/windows/nglib_MSVC2005.vcproj
@@ -92,7 +92,7 @@
/>
diff --git a/windows/postBuild_netgen.bat b/windows/postBuild_netgen.bat
index bcd07c33..58b0a0ec 100644
--- a/windows/postBuild_netgen.bat
+++ b/windows/postBuild_netgen.bat
@@ -10,10 +10,10 @@ REM *** Call from Visual C++ using:
REM *** postBuild_netgen.bat $(ProjectName) $(TargetFileName) $(ConfigurationName) $(ProjectDir)
REM *********************************************************************************
if [%1]==[] goto BuildEventFailed
-set PROJ_NAME=%1
-set PROJ_EXEC=%2
-set BUILD_TYPE=%3
-set PROJ_DIR=%4
+set PROJ_NAME=%~1
+set PROJ_EXEC=%~2
+set BUILD_TYPE=%~3
+set PROJ_DIR=%~4
REM *** Change these Folders if required ***
set NETGEN_TCLSRC=%PROJ_DIR%..\ng
diff --git a/windows/postBuild_nglib.bat b/windows/postBuild_nglib.bat
index 093da773..6aa52017 100644
--- a/windows/postBuild_nglib.bat
+++ b/windows/postBuild_nglib.bat
@@ -10,10 +10,10 @@ REM *** Call from Visual C++ using:
REM *** postBuild_nglib.bat $(ProjectName) $(TargetFileName) $(ConfigurationName) $(ProjectDir)
REM *********************************************************************************
if [%1]==[] goto BuildEventFailed
-set PROJ_NAME=%1
-set PROJ_EXEC=%2
-set BUILD_TYPE=%3
-set PROJ_DIR=%4
+set PROJ_NAME=%~1
+set PROJ_EXEC=%~2
+set BUILD_TYPE=%~3
+set PROJ_DIR=%~4
REM *** Change these Folders if required ***
set NETGEN_TCLSRC=%PROJ_DIR%..\ng