Advertisement
Guest User

Untitled

a guest
Nov 13th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 4.95 KB | None | 0 0
  1. @echo off
  2. ver | findstr /i "5\.0\."
  3. if %ERRORLEVEL% EQU 0 (
  4. echo  OS = Windows 2000
  5.  
  6. exit
  7. )
  8. ver | findstr /i "5\.1\."
  9. if %ERRORLEVEL% EQU 0 (
  10. rem XP
  11. %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-11_02.jpg
  12. %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-23_03.jpg
  13. %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10_03.jpg
  14. %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-11-01.jpg
  15.  
  16. exit
  17. )
  18. ver | findstr /i "5\.2\."
  19. if %ERRORLEVEL% EQU 0 (
  20. rem XP64
  21. %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-11_02.jpg
  22. %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-23_03.jpg
  23. %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10_03.jpg
  24. %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-11-01.jpg
  25.  
  26. exit
  27. )
  28. ver | findstr /i "6\.0\." > nul
  29. if %ERRORLEVEL% EQU 0 (
  30. rem 2008
  31. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-11_02.jpg
  32. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-23_03.jpg
  33. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10_03.jpg
  34. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-11-01.jpg
  35.  
  36. exit
  37. )
  38. ver | findstr /i "6\.1\." > nul
  39. if %ERRORLEVEL% EQU 0 (
  40. rem 7
  41. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-11_02.jpg
  42. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-23_03.jpg
  43. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10_03.jpg
  44. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-11-01.jpg
  45.  
  46. exit
  47. )
  48. ver | findstr /i "6\.2\." > nul
  49. if %ERRORLEVEL% EQU 0 (
  50. rem 8
  51. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-11_02.jpg
  52. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-23_03.jpg
  53. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10_03.jpg
  54. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-11-01.jpg
  55.  
  56. exit
  57. )
  58. ver | findstr /i "6\.3\." > nul
  59. if %ERRORLEVEL% EQU 0 (
  60. rem 8.1
  61. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-11_02.jpg
  62. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-23_03.jpg
  63. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10_03.jpg
  64. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-11-01.jpg
  65.  
  66. exit
  67. )
  68. ver | findstr /i "10\.0\." > nul
  69. if %ERRORLEVEL% EQU 0 (
  70. rem 10
  71. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-11_02.jpg
  72. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10-23_03.jpg
  73. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-10_03.jpg
  74. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01.DVIB.CONS23.RU\png\2017-11-01.jpg
  75.  
  76. exit
  77. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement