I have tried to get the fileversion to be displayed both of the below WMIC commands work using the CMD box, without tail and head, but when added to the out.conf
All I get is a blank after the labels. What is wrong with these or should I use something different to get the fileversion. This is for windows 2008 R2 using 3.3.6 .
GCSDriverRuntime: X wmic datafile "C:\Program Files (x86)\APCI\OPC\GCSDriverRuntime.exe" get version | tail -2 | head -1
GCSDriverRuntime2: X wmic datafile where name="C:\Program Files (x86)\APCI\OPC\GCSDriverRuntime.exe" get version tail -2 | head -1
Thanks,
Dana Anderson
Electronics Equipment and Services
Principal Development Engineer
Air Products and Chemicals
7201 Hamilton Blvd.
Allentown PA 18195-1501
Mail Stop R3102
andersdl@airproducts.comandersdl@airproducts.com
(610)-481-4371 Work
(610)-706-7447 Fax (E-mail Delivery)
(610)-573-9210 Cell
I have tried to get the fileversion to be displayed both of the below WMIC commands work using the CMD box, without tail and head, but when added to the out.conf
All I get is a blank after the labels. What is wrong with these or should I use something different to get the fileversion. This is for windows 2008 R2 using 3.3.6 .
GCSDriverRuntime: X wmic datafile "C:\Program Files (x86)\APCI\OPC\GCSDriverRuntime.exe" get version | tail -2 | head -1
GCSDriverRuntime2: X wmic datafile where name="C:\Program Files (x86)\APCI\OPC\GCSDriverRuntime.exe" get version tail -2 | head -1
Thanks,
Dana Anderson
Electronics Equipment and Services
Principal Development Engineer
Air Products and Chemicals
7201 Hamilton Blvd.
Allentown PA 18195-1501
Mail Stop R3102
andersdl@airproducts.comandersdl@airproducts.com
(610)-481-4371 Work
(610)-706-7447 Fax (E-mail Delivery)
(610)-573-9210 Cell
Hello,
try the following and check if it works:
http://4x4w.blogspot.com.es/2013/12/wmi-commands-with-bginfo4x.html
Regards.