?? regopc.bat
字號:
@echo off
if '%PROCESSOR_ARCHITECTURE%'=='' SET RegSvr32Path=%windir%\SYSTEM\
if '%1' == '' goto reg
if '%1' == '/u' goto unreg
echo "invalid flag."
goto end
:reg
@echo on
%RegSvr32Path%RegSvr32 /s opccomn_ps.dll
%RegSvr32Path%RegSvr32 /s opcproxy.dll
%RegSvr32Path%RegSvr32 /s opcdaauto.dll
%RegSvr32Path%RegSvr32 /s OPCTrend.ocx
%RegSvr32Path%RegSvr32 /s OPCBar.ocx
OpcServer.exe /RegServer
OPCJDADemoServer /RegServer
@echo off
goto end
:unreg
@echo on
%RegSvr32Path%RegSvr32 /s /u opccomn_ps.dll
%RegSvr32Path%RegSvr32 /s /u opcproxy.dll
%RegSvr32Path%RegSvr32 /s /u opcdaauto.dll
%RegSvr32Path%RegSvr32 /s /u OPCTrend.ocx
%RegSvr32Path%RegSvr32 /s /u OPCBar.ocx
OpcServer.exe /UnregServer
OPCJDADemoServer /UnregServer
:end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -