本帖最后由 qq2501 于 2011-12-22 22:46 编辑
- @echo off
- for /f "usebackq tokens=2 delims=^=" %%a in (`findstr "shop1" set.ini`) do echo 店铺代码为%%a >%%a.txt & ping -n 3 61.144.1.1>>%%a.txt & set a=%%a
- echo, 处理器:>>%a%.txt
- for /f "usebackq tokens=1,2* delims=:" %%i in (`systeminfo`) do echo,%%j | findstr "x86" >>%a%.txt
- pause
复制代码
|