[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[port139:01548] RE: Patch NOT Found のカウント
- To: <port139@xxxxxxxxxxxxxxxxxxxxx>
- Subject: [port139:01548] RE: Patch NOT Found のカウント
- From: "Masaki Sugihara" <sugihara@xxxxxxxxxx>
- Date: Mon, 2 Dec 2002 16:47:06 +0900
杉原と申します。
> -----Original Message-----
> とやってカウント数を出してあげれば簡単そうですけど、BAT ファイルの
> 中でコマンド結果を変数へ入れるのってどうやるんでしょ?
> WSH 使った方が簡単?
1.bat を
hfnetchk.exe |find "Patch NOT Found" /C
として、
for /f "tokens=1 delims=" %%i in ('call 1.bat') do set test=%%i
echo %test%
なんかはどうでしょうか。