Natxo Asenjo <natxo.ase...@gmail.com> writes:

> hi,

Hello,

> I have a wmic check that does not get executed, so it never gets done.
>

[...]

> =================
> @echo off
>
> rem if %errorlevel% of this command is 0, then it is a PRIMERGY RX300 S3
>
> wmic computersystem get /format:list | findstr /i "PRIMERGY RX300 S3"
> =================

I had this and found on internet[1] a work around:

#v+
echo '' | wmic  computersystem get /format:list | findstr /i "PRIMERGYRX300 S3"
#v-

Regards.

Footnotes: 
[1]  http://serverfault.com/questions/160933/wmic-hangs-in-cygwin

-- 
Daniel Dehennin
RAIP de l'Orne

Attachment: pgpToFaAjY4AK.pgp
Description: PGP signature

-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to