echo off
set InstallPath=%~1
if not defined InstallPath (
set InstallPath=C:\Program Files\Kingdee\K3Cloud
) 
set BaseDirectory=%~2
if not defined BaseDirectory (
set BaseDirectory=C:\Program Files\Kingdee\K3Cloud
) 
echo on

rem *****Extrad K3*****

call "%systemroot%\system32\regsvr32.exe" /s "%InstallPath%\Tools\DataMigration\ExcelToKds.dll"
call "%systemroot%\system32\regsvr32.exe" /s "%InstallPath%\Tools\DataMigration\KDSpreadU.ocx"



