register.bat
来自「语法检查程序」· Batch 代码 · 共 25 行
BAT
25 行
@echo off
:: Script for registering the Spelly addins
setlocal
if "%1"=="" echo This batch file registers the Spelly addins
set ttl="Spelly Installer"
set msgbox=cscript msgbox.vbs //nologo
%msgbox% "If you are currently running VC++ or VS.NET, please close them now." 48 %ttl%
echo Registering VC6 addin...
regsvr32 /s Spelly.dll
if errorlevel 1 %msgbox% "There was a problem registering the VC6 addin (normal if you don't have VC6 installed)." 16 %ttl%
if not exist %systemroot%\system32\mfc70.dll goto skipdotnet
echo Registering .NET addin...
regsvr32 /s Spelly.NET.dll
if errorlevel 1 %msgbox% "There was a problem registering the .NET addin (normal if you don't have VC7 installed)." 16 %ttl%
goto done
:skipdotnet
echo MFC7.0 not detected - assuming VS.NET not installed.
%msgbox% "Installation complete. You should see a Spelly toolbar next time you run VS6/VS.NET." 64 %ttl%
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?