echo off Echo Batch file to create wspcfg.ini for Microsoft ISA Firewall Client, Version 1.0 echo By C. De Herrera, Pocket PC FAQ, Copyright 2006 echo ' if not exist "c:\program files\microsoft activesync\rapimgr.exe" goto end if exist "c:\program files\microsoft activesync\wspcfg.ini" goto end2 echo [rnaap] > "c:\program files\microsoft activesync\wspcfg.ini" echo disable=1 >> "c:\program files\microsoft activesync\wspcfg.ini" echo Completed configuration of ActiveSync wspcfg.ini for ISA Firewall Client goto done :end2 Echo wspcfg.ini already exists... aborting goto done :end Echo ActiveSync not installed... aborting :done pause