Windows脚本

  1. 锁屏.vbs

    1
    2
    3
    4
    5
    Dim WSHShell

    Set WSHShell=WScript.CreateObject("WScript.Shell")

    WSHShell.Run "Rundll32.exe user32.dll,LockWorkStation", 0
  2. 休眠.bat

    1
    shutdown.exe -h
  3. start_jar.bat(Windows后台运行jar)

    1
    start javaw -jar D:\CreditSoft\hurongAPI.jar