@echo off
rem 進入目前路徑
cd %cd%
if exist C:\WINDOWS\system32 xcopy UnionKdm.ocx C:\WINDOWS\system32
if exist C:\WINDOWS\system32 xcopy kdm_dll.dll C:\WINDOWS\system32
if exist C:\WINDOWS\system32 xcopy UnionKdm.inf C:\WINDOWS\system32
if exist C:\WINDOWS\system32 cd C:\WINDOWS\system32
if exist C:\WINDOWS\system32 regsvr32 UnionKdm.ocx