截图.bat
start snippingtool
锁屏.bat
rundll32.exe user32.dll,LockWorkStation
redis.bat
cd %~dp0
redis-server.exe redis.windows.conf
vbs
Set ws = CreateObject("Wscript.Shell")
ws.run "cmd /c C:/Python27/Scripts/ride.bat",vbhide
在上文中提到的"%1"
是一个注册表的参数, 除了%1, 还有这些 ^3:
r.reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\cygwin\command]
@="D:\\MSW\\cygwin64\\install\\Cygwin.bat %V"