Advertisement
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
- exit
- )
- ver | findstr /i "5\.1\."
- if %ERRORLEVEL% EQU 0 (
- rem XP
- %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-11_02.jpg
- %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-23_03.jpg
- %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10_03.jpg
- %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-11-01.jpg
- exit
- )
- ver | findstr /i "5\.2\."
- if %ERRORLEVEL% EQU 0 (
- rem XP64
- %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-11_02.jpg
- %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-23_03.jpg
- %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10_03.jpg
- %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-11-01.jpg
- exit
- )
- 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.DVIB.CONS23.RU\png\2017-10-11_02.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-23_03.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10_03.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-11-01.jpg
- exit
- )
- 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.DVIB.CONS23.RU\png\2017-10-11_02.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-23_03.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10_03.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-11-01.jpg
- exit
- )
- 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.DVIB.CONS23.RU\png\2017-10-11_02.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-23_03.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10_03.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-11-01.jpg
- exit
- )
- 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.DVIB.CONS23.RU\png\2017-10-11_02.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-23_03.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10_03.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-11-01.jpg
- exit
- )
- 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.DVIB.CONS23.RU\png\2017-10-11_02.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-23_03.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10_03.jpg
- start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-11-01.jpg
- exit
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement