shakawkaw

Untitled

Aug 17th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 4.53 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. ver | findstr /i "5\.1\."
  7. if %ERRORLEVEL% EQU 0 (
  8. rem XP
  9. %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01\png\787168433004b0f73db5d45893ba3434.jpg
  10. %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01\png\stars30.jpg
  11. %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01\png\stars31.jpg
  12. %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01\png\stars3777.jpg
  13. )
  14. ver | findstr /i "5\.2\."
  15. if %ERRORLEVEL% EQU 0 (
  16. rem XP64
  17. %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01\png\787168433004b0f73db5d45893ba3434.jpg
  18. %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01\png\stars30.jpg
  19. %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01\png\stars31.jpg
  20. %SystemRoot%\System32\rundll32.exe "%SystemRoot%\System32\shimgvw.dll",ImageView_Fullscreen \\SERVER-01\png\stars3777.jpg
  21. )
  22. ver | findstr /i "6\.0\." > nul
  23. if %ERRORLEVEL% EQU 0 (
  24. rem 2008
  25. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\787168433004b0f73db5d45893ba3434.jpg
  26. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars30.jpg
  27. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars31.jpg
  28. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars3777.jpg
  29. )
  30. ver | findstr /i "6\.1\." > nul
  31. if %ERRORLEVEL% EQU 0 (
  32. rem 7
  33. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\787168433004b0f73db5d45893ba3434.jpg
  34. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars30.jpg
  35. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars31.jpg
  36. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars3777.jpg
  37. )
  38. ver | findstr /i "6\.2\." > nul
  39. if %ERRORLEVEL% EQU 0 (
  40. rem 8
  41. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\787168433004b0f73db5d45893ba3434.jpg
  42. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars30.jpg
  43. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars31.jpg
  44. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars3777.jpg
  45. )
  46. ver | findstr /i "6\.3\." > nul
  47. if %ERRORLEVEL% EQU 0 (
  48. rem 8.1
  49. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\787168433004b0f73db5d45893ba3434.jpg
  50. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars30.jpg
  51. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars31.jpg
  52. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars3777.jpg
  53. )
  54. ver | findstr /i "10\.0\." > nul
  55. if %ERRORLEVEL% EQU 0 (
  56. rem 10
  57. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\787168433004b0f73db5d45893ba3434.jpg
  58. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars30.jpg
  59. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars31.jpg
  60. start %SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen \\SERVER-01\png\stars3777.jpg
  61. )
Advertisement
Add Comment
Please, Sign In to add comment