代码拉取完成,页面将自动刷新
::CODER BY yuanz POWERD BY iBAT
Setlocal enabledelayedexpansion
@echo off
mode con cols=80 lines=38
color 5F
:: SET ORIGINAL_PATH=.\document\需手动添加到安装目录下的文件 ***输入接口文件文件***
:: SET DESTINATION_PATH=E:\ProgramFiles ***输入安装路径***
:: SET ORIGINAL_PATH=F:\002-WorkProject\Epoint\SVN\WPF造价\document\需手动添加到安装目录下的文件
:: 接口文件路径
SET ORIGINAL_PATH=..\需手动添加到安装目录下的文件
SET DESTINATION_PATH=""
TITLE 接口复制工具
:MENU
CLS
ECHO 选择接口版本
ECHO. =============================================================
ECHO.
ECHO. --请输入11、21...等两位数序号,选择你需要的接口文件到安装目录下:--
ECHO.
ECHO. **-11.复制安徽版10.3.0接口-**
ECHO.
ECHO. **-21.复制标准版10.3.0接口-**
ECHO.
ECHO. **-22.复制标准版10.3.4接口-**
ECHO.
ECHO. **-31.复制贵州版10.2.1接口-**
ECHO.
ECHO. **-32.复制贵州版10.3.0接口-**
ECHO.
ECHO. **-33.复制贵州版10.3.4接口-**
ECHO.
ECHO. **-41.复制江苏版10.3.0接口-**
ECHO.
ECHO. **-51.复制山东版10.3.0接口-**
ECHO.
ECHO. **-52.复制山东版10.3.4接口-**
ECHO.
ECHO. **-61.复制浙江版10.3.0接口-**
ECHO.
ECHO. **-R.按R键 返回主菜单-**
ECHO.
ECHO. **-E.按E键 退出-**
ECHO.
ECHO. ==============================================================
:CHO
set choice=
set /p choice= 选择你要进行的操作:
IF NOT "%choice%"=="" SET choice=%choice:~0,2%
if /i "%choice%"=="11" (
SET JIEKOU_NAME=安徽10.3.0
SET JIEKOU_PATH=V10.3.0之后版本需覆盖的文件
SET JIEKOU_Type1=C1.WPF.Automation.4.dll
SET JIEKOU_Type2=Automation.xml
SET RegPath="HKEY_CLASSES_ROOT\EpPath安徽版"
goto COPY_INTERFACE
)
if /i "%choice%"=="21" (
SET JIEKOU_NAME=标准10.3.0
SET JIEKOU_PATH=V10.3.0之后版本需覆盖的文件
SET JIEKOU_Type1=C1.WPF.Automation.4.dll
SET JIEKOU_Type2=Automation.xml
SET RegPath="HKEY_CLASSES_ROOT\EpPath标准版"
goto COPY_INTERFACE
)
if /i "%choice%"=="22" (
SET JIEKOU_NAME=标准10.3.4
SET JIEKOU_PATH=V10.3.4需覆盖的文件
SET JIEKOU_Type1=C1.WPF.Automation.4.dll
SET JIEKOU_Type2=Automation.xml
SET JIEKOU_Type3=C1.WPF.Automation.4.XML
SET RegPath="HKEY_CLASSES_ROOT\EpPath标准版"
goto COPY_INTERFACE_10.3.4
)
if /i "%choice%"=="31" (
SET JIEKOU_NAME=贵州10.2.1
SET JIEKOU_PATH=V10.2.1_3之后版本需要覆盖的文件
SET JIEKOU_Type1=C1.WPF.Automation.4.dll
SET JIEKOU_Type2=Automation.xml
SET RegPath="HKEY_CLASSES_ROOT\EpPath贵州版"
goto COPY_INTERFACE
)
if /i "%choice%"=="32" (
SET JIEKOU_NAME=贵州10.3.0
SET JIEKOU_PATH=V10.3.0之后版本需覆盖的文件
SET JIEKOU_Type1=C1.WPF.Automation.4.dll
SET JIEKOU_Type2=Automation.xml
SET RegPath="HKEY_CLASSES_ROOT\EpPath贵州版"
goto COPY_INTERFACE
)
if /i "%choice%"=="33" (
SET JIEKOU_NAME=贵州10.3.4
SET JIEKOU_PATH=V10.3.4需覆盖的文件
SET JIEKOU_Type1=C1.WPF.Automation.4.dll
SET JIEKOU_Type2=Automation.xml
SET JIEKOU_Type3=C1.WPF.Automation.4.XML
SET RegPath="HKEY_CLASSES_ROOT\EpPath贵州版"
goto COPY_INTERFACE_10.3.4
)
if /i "%choice%"=="41" (
SET JIEKOU_NAME=江苏10.3.0
SET JIEKOU_PATH=V10.3.0之后版本需覆盖的文件
SET JIEKOU_Type1=C1.WPF.Automation.4.dll
SET JIEKOU_Type2=Automation.xml
SET RegPath="HKEY_CLASSES_ROOT\EpPath江苏版"
goto COPY_INTERFACE_JIANGSU
)
if /i "%choice%"=="51" (
SET JIEKOU_NAME=山东10.3.0
SET JIEKOU_PATH=V10.3.0之后版本需覆盖的文件
SET JIEKOU_Type1=C1.WPF.Automation.4.dll
SET JIEKOU_Type2=Automation.xml
SET RegPath="HKEY_CLASSES_ROOT\EpPath山东版"
goto COPY_INTERFACE
)
if /i "%choice%"=="52" (
SET JIEKOU_NAME=山东10.3.4
SET JIEKOU_PATH=V10.3.4需覆盖的文件
SET JIEKOU_Type1=C1.WPF.Automation.4.dll
SET JIEKOU_Type2=Automation.xml
SET JIEKOU_Type3=C1.WPF.Automation.4.XML
SET RegPath="HKEY_CLASSES_ROOT\EpPath山东版"
goto COPY_INTERFACE_10.3.4
)
if /i "%choice%"=="61" (
SET JIEKOU_NAME=浙江10.3.0
SET JIEKOU_PATH=V10.3.0之后版本需覆盖的文件
SET JIEKOU_Type1=C1.WPF.Automation.4.dll
SET JIEKOU_Type2=Automation.xml
SET RegPath="HKEY_CLASSES_ROOT\EpPath浙江版"
goto COPY_INTERFACE
)
if /i "%choice%"=="R" (
call MainInitZJ.bat
)
if /i "%choice%"=="E" (
goto EXIT
)
:: 10.3.4之前的接口文件
:COPY_INTERFACE
CLS
ECHO %JIEKOU_NAME%接口复制信息
ECHO. =================================================
ECHO.
ECHO 将要复制%JIEKOU_NAME%接口到安装目录:
ECHO.
ECHO. =================================================
ECHO.
pause
for /f "tokens=3" %%j in ('REG QUERY %RegPath% /VE') do (
copy %ORIGINAL_PATH%\%JIEKOU_PATH%\%JIEKOU_Type1% %%j\bin
copy %ORIGINAL_PATH%\%JIEKOU_PATH%\%JIEKOU_Type2% %%j\Data\公用
)
CLS
ECHO. =================================================
ECHO.
ECHO 已将接口文件复制到对应地区的安装目录
ECHO 返回菜单界面
ECHO.
ECHO. =================================================
pause
goto MENU
:: 江苏的接口文件
:COPY_INTERFACE_JIANGSU
CLS
ECHO %JIEKOU_NAME%接口复制信息
ECHO. =================================================
ECHO.
ECHO 将要复制%JIEKOU_NAME%接口到安装目录:
ECHO.
ECHO. =================================================
ECHO.
pause
for /f "tokens=3" %%j in ('REG QUERY %RegPath% /VE') do (
copy %ORIGINAL_PATH%\%JIEKOU_PATH%\%JIEKOU_Type1% %%j\bin
copy %ORIGINAL_PATH%\%JIEKOU_PATH%\%JIEKOU_Type2% %%j\Data\公用
copy %ORIGINAL_PATH%\显示辅助计价程序的替换文件\UI.xml %%j\Data\江苏\Config
)
:: 10.3.4接口文件
:COPY_INTERFACE_10.3.4
CLS
ECHO %JIEKOU_NAME%接口复制信息
ECHO. =================================================
ECHO.
ECHO 将要复制%JIEKOU_NAME%接口到安装目录:
ECHO.
ECHO. =================================================
ECHO.
pause
for /f "tokens=3" %%j in ('REG QUERY %RegPath% /VE') do (
copy %ORIGINAL_PATH%\%JIEKOU_PATH%\%JIEKOU_Type1% %%j\bin
copy %ORIGINAL_PATH%\%JIEKOU_PATH%\%JIEKOU_Type2% %%j\Data\公用
copy %ORIGINAL_PATH%\%JIEKOU_PATH%\%JIEKOU_Type3% %%j\bin
)
CLS
ECHO. =================================================
ECHO.
ECHO 已将接口文件复制到对应地区的安装目录
ECHO 返回菜单界面
ECHO.
ECHO. =================================================
pause
goto MENU
:EXIT
exit
pause
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。