|
|
|||||||
Since @mhz donīt works under Windows 9x, exists other way to get this information by script ? Thanks ! |
||||||||
|
|
|||||||
Hello and Welcome to the board. For Windows 9x try looking for script or tools at MCAs site. http://home.wanadoo.nl/scripting/ |
||||||||
|
|
|||||||
You can d/l the WMI9X.EXE from Microsoft and run a WMI Query to get this. Kent |
||||||||
|
|
|||||||
Thanks. I find another way, but appears that I have a syntax problem... I found a DOS program (CHKCPU.EXE) that gives me information about cpu and mhz under Windows 9x enviroment. So, all that I need is redirect the output to a file. I created a kix file, named cpu9x.kix, that contains this instruction: SHELL '%COMSPEC /c "C:\CHKCPU.EXE/S > C:\TESTE.TXT"' When I execute kix32 cpu9x.kix, nothing is happening. The txt file isnīt created, and I can get any errors.... Any idea about how to solve this problem ? |
||||||||
|
|
|||||||
hmmm, might have a syntax error there, try this: SHELL '%COMSPEC% /C C:\CHKCPU.EXE /S >C:\TESTE.TXT' btw - what does the /S switch do ? -Shawn |
||||||||
|
|
|||||||
Excuse me.... Already found the syntax error: Wrong: SHELL '%COMSPEC /c "C:\CHKCPU.EXE/S > C:\TESTE.TXT"' Right: SHELL '%COMSPEC% /c C:\CHKCPU.EXE/S > C:\TESTE.TXT"' Just an unnecessary " before C:\CHKCPU.EXE/S > C:\TESTE.TXT"' Thansk anyway ! |
||||||||
|
|
|||||||
Quote: Short Display, CPU type and speed only. |
||||||||
|
|
|||||||
FYI The utility posted on MCA's site is highly recommended by many high quality advice sites on the web. |
||||||||
|
|
|||||||
Glad you found the problem. Next stop - read the value in the output file back into your script ... hmmmm |