level 2
li5986975
楼主
求助大大,各像下面提取计算机型号输出到文本一样
@if %PROCESSOR_ARCHITECTURE%=="x86" (start /wait dxdiag /whql:off /t DxDiag.txt) else (start /wait dxdiag /64bit /whql:off /t DxDiag.txt)
@for /f "tokens=2 delims=:" %%i in ('type "DxDiag.txt"^|findstr /s /i /c:"System Model"') do (set pc=%%i)
@echo System Model: %pc:~1,30%>>"%computername%.txt"
如何查找config.ini里的“StationNo=“并追加后面的数字56789到前面的文本
以下节选 config.ini
————————————————————
[InitConfig]
StationNo=56789
AgentID=1003
TServerIP=10.*.*.62
LinkIP=10.*.*.62
ACCServerIP=0
ICCServerIP=0
ACDServerIP=0
RECType=1
PBXType=7
IPPhoneType=2
PBXACDType=1
TransforToIVRType=2
HangUpAgtState=1100
DLogout=1
————————————————————
谢谢
2017年07月08日 08点07分
1
@if %PROCESSOR_ARCHITECTURE%=="x86" (start /wait dxdiag /whql:off /t DxDiag.txt) else (start /wait dxdiag /64bit /whql:off /t DxDiag.txt)
@for /f "tokens=2 delims=:" %%i in ('type "DxDiag.txt"^|findstr /s /i /c:"System Model"') do (set pc=%%i)
@echo System Model: %pc:~1,30%>>"%computername%.txt"
如何查找config.ini里的“StationNo=“并追加后面的数字56789到前面的文本
以下节选 config.ini
————————————————————
[InitConfig]
StationNo=56789
AgentID=1003
TServerIP=10.*.*.62
LinkIP=10.*.*.62
ACCServerIP=0
ICCServerIP=0
ACDServerIP=0
RECType=1
PBXType=7
IPPhoneType=2
PBXACDType=1
TransforToIVRType=2
HangUpAgtState=1100
DLogout=1
————————————————————
谢谢