diff --git a/dist.bat b/dist.bat
index 6463a87..89be72b 100755
--- a/dist.bat
+++ b/dist.bat
@@ -13,7 +13,7 @@
:: You should have received a copy of the GNU General Public License
:: along with this program. If not, see .
@echo off
-set PYDIR=c:\python26
+set PYDIR=c:\python27
rd build /s /q
rd dist /s /q
%PYDIR%\python.exe setup.py bdist_wininst
diff --git a/test.bat b/test.bat
index 14ac458..3b2f227 100755
--- a/test.bat
+++ b/test.bat
@@ -13,6 +13,6 @@
:: You should have received a copy of the GNU General Public License
:: along with this program. If not, see .
@echo off
-set PYDIR=C:\Python26
+set PYDIR=C:\Python27
%PYDIR%\scripts\nosetests -v -m "^test_.*" tests/
@pause