?? install.bat
字號:
@echo off
set CWD=%cd%
rem relace \ with \\ in the path
SET CWD=%CWD:\=\\%
echo Windows Registry Editor Version 5.00 > temp.reg
echo [HKEY_CLASSES_ROOT\.vat] >> temp.reg
echo @="vatfile" >> temp.reg
echo "Content Type"="application/x-vs-authtoken" >> temp.reg
echo [HKEY_CLASSES_ROOT\vatfile] >> temp.reg
echo @="Voltage Authentication Token" >> temp.reg
echo "EditFlags"=hex:00,00,01,00 >> temp.reg
echo [HKEY_CLASSES_ROOT\vatfile\shell] >> temp.reg
echo [HKEY_CLASSES_ROOT\vatfile\shell\open] >> temp.reg
echo [HKEY_CLASSES_ROOT\vatfile\shell\open\command] >> temp.reg
echo @="%CWD%\\TokenHandler.exe storetoken \"%%1\"" >> temp.reg
echo [HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/x-vs-authtoken] >> temp.reg
echo "Extension"=".vat" >> temp.reg
rem run the registry file created and delete it
regedit /S temp.reg
del temp.reg
echo Token handler successfully installed
pause
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -