diff --git a/contrib/vstudio/vc10/zlibstat.vcxproj b/contrib/vstudio/vc10/zlibstat.vcxproj
index 2682fca..b9f2bbe 100644
--- a/contrib/vstudio/vc10/zlibstat.vcxproj
+++ b/contrib/vstudio/vc10/zlibstat.vcxproj
@@ -182,6 +182,10 @@
$(OutDir)zlibstat.lib
true
+
+ cd ..\..\masmx86
+bld_ml32.bat
+
@@ -210,6 +214,10 @@
$(OutDir)zlibstat.lib
true
+
+ cd ..\..\masmx86
+bld_ml32.bat
+
@@ -266,6 +274,10 @@
$(OutDir)zlibstat.lib
true
+
+ cd ..\..\masmx64
+bld_ml64.bat
+
@@ -326,6 +338,10 @@
$(OutDir)zlibstat.lib
true
+
+ cd ..\..\masmx64
+bld_ml64.bat
+
diff --git a/contrib/vstudio/vc10/zlibvc.vcxproj b/contrib/vstudio/vc10/zlibvc.vcxproj
index 9218fdc..97016a5 100644
--- a/contrib/vstudio/vc10/zlibvc.vcxproj
+++ b/contrib/vstudio/vc10/zlibvc.vcxproj
@@ -383,7 +383,7 @@ bld_ml32.bat
MachineX64
- cd ..\..\contrib\masmx64
+ cd ..\..\masmx64
bld_ml64.bat