Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for scrnsavr.bat

(view source code of scrnsavr.bat as plain text)

  1. @ECHO OFF
  2. IF "%1"=="" GOTO Interact
  3. IF NOT EXIST %SystemRoot%.\System32\%~nx1 GOTO Interactive
  4.  
  5. RUNDLL32 DESK.CPL,InstallScreenSaver %~f1
  6. GOTO End
  7.  
  8. :Interactive
  9. RUNDLL32 SHELL32.DLL,Control_RunDLL DESK.CPL,@0,1
  10.  
  11. :End
  12.  

page last uploaded: 2017-04-06, 13:33