Logon Script depending on Windows Version
@echo off ver | find “6.1” > nul if %ERRORLEVEL% == 0 goto Win7 ver | find “5.1” > nul if %ERRORLEVEL% == 0 goto WinXP :Win7 echo Running Windows 7 Script goto exit :WinXP echo Running Windows XP Script goto exit :exit NT 5.1Windows XP XP 64-Bit Edition fr …