Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- ver | findstr /i "5\.0\."
- if %ERRORLEVEL% EQU 0 (
- echo OS = Windows 2000
- )
- ver | findstr /i "5\.1\."
- if %ERRORLEVEL% EQU 0 (
- rem XP
- %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01\png\787168433004b0f73db5d45893ba3434.jpg
- %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01\png\stars30.jpg
- %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01\png\stars31.jpg
- %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01\png\stars3777.jpg
- )
- ver | findstr /i "5\.2\."
- if %ERRORLEVEL% EQU 0 (
- rem XP64
- %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01\png\787168433004b0f73db5d45893ba3434.jpg
- %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01\png\stars30.jpg
- %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01\png\stars31.jpg
- %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01\png\stars3777.jpg
- )
- ver | findstr /i "6\.0\." > nul
- if %ERRORLEVEL% EQU 0 (
- rem 2008
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\787168433004b0f73db5d45893ba3434.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars30.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars31.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars3777.jpg
- )
- ver | findstr /i "6\.1\." > nul
- if %ERRORLEVEL% EQU 0 (
- rem 7
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\787168433004b0f73db5d45893ba3434.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars30.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars31.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars3777.jpg
- )
- ver | findstr /i "6\.2\." > nul
- if %ERRORLEVEL% EQU 0 (
- rem 8
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\787168433004b0f73db5d45893ba3434.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars30.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars31.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars3777.jpg
- )
- ver | findstr /i "6\.3\." > nul
- if %ERRORLEVEL% EQU 0 (
- rem 8.1
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\787168433004b0f73db5d45893ba3434.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars30.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars31.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars3777.jpg
- )
- ver | findstr /i "10\.0\." > nul
- if %ERRORLEVEL% EQU 0 (
- rem 10
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\787168433004b0f73db5d45893ba3434.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars30.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars31.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars3777.jpg
- )
Advertisement
Add Comment
Please, Sign In to add comment