📄 uninstall.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
echo [-HKEY_CLASSES_ROOT\PROTOCOLS\Filter\application/x-vs-authtoken] >> temp.reg
echo @="Voltage TokenFilter" >> temp.reg
echo "CLSID"="{1F17617E-C296-4C16-89E3-E22C6C454645}" >> temp.reg
rem run the registry file created and delete it
regedit /S temp.reg
del temp.reg
echo Token handler successfully uninstalled
pause
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -