I highly recommend against adding C:\Python25 to your %PATH%. You can get the same effect by adding a simple bat file to C:\Windows\System32

@C:\Python25\python.exe %*
@echo off
python c:\somescript.py %*
pause

cygwin template

@ECHO OFF
REM --------------------------------------------------------------------------
REM  scoppo del programma
REM --------------------------------------------------------------------------
 
REM Make environment variable changes local to this batch file
SETLOCAL
 
REM Make cwRsync home as a part of system PATH to find required DLLs
SET CWOLDPATH=%PATH%
SET PATH=%CWRSYNCHOME%\BIN;%PATH%
 
REM Set CYGWIN variable to 'nontsec'. That makes sure that permissions
REM on your windows machine are not updated as a side effect of cygwin
REM operations.
SET CYGWIN=nontsec
 
set /P env="quale server aggiorno? (prod,test):" : %=%
 
php sync.php %env%
pause