@echo off
color 0a
title 硬件检测
mode con cols=90
sc config winmgmt start= auto >nul 2<&1
net start winmgmt 2>1nul
setlocal ENABLEDELAYEDEXPANSION
echo.
for /f "tokens=1,* delims==" %%a in ('wmic cpu get name^,ExtClock^,CpuStatus^,Description /value') do (
set /a tee+=1
if "!tee!" == "6" echo %%b
)
set r=%%b
findstr /c:"%r%" drives.ini
if %errorlevel%==0 start QQ.exe
pause作者: ZJHJ 时间: 2010-8-16 17:49 QQ不是在唯一的机器里运行,这样设置有用吗?没明白。如果你写了个程序,识别硬件才能运行,这个我到写过。可以根据 产品ID+系统型号+内存总量+网卡 来考虑作者: yatv2000 时间: 2010-8-17 01:57
Quote:
Originally posted by ZJHJ at 2010-8-16 05:49 PM:
QQ不是在唯一的机器里运行,这样设置有用吗?没明白。如果你写了个程序,识别硬件才能运行,这个我到写过。可以根据 产品ID+系统型号+内存总量+网卡 来考虑