I'm trying to do some analysis under Windows 7 as to why I can't get a Windows Experience Index (WEI) rating due to disk issues. To this end, I'm trying to run winsat from the command line with :-

winsat disk -seq -read -drive c

and

winsat disk -ran -write -n 2

but the command window is closing too quickly to be able to read the results. I've tried opening a seperate cmd window to run it in but it still insists on launching its own window to run in, closing straight away.

Any idea how I can see the output?

link|improve this question

feedback

5 Answers

up vote 6 down vote accepted

You could redirect output to a file so you can read it.

example:

winsat disk -seq -read -drive c > C:\winsatoutput.txt 2>&1

EDIT: It seems winsat has a -log switch which does this:

winsat disk -seq -read -drive -log C:\winsatoutput.txt

this way, all output including errors will be in the file C:\winsatoutput.txt.

link|improve this answer
other window still spawns and closes on finish, 0 file length on output file – Rob Cowell Jan 10 '10 at 11:55
I'm almost there, but the log output isn't plain ASCII. Gonna dig into it a bit – Rob Cowell Jan 10 '10 at 12:01
2  
Ah, there's a readable log at c:\Windows\Performance\WinSAT that includes my command-line ones. – Rob Cowell Jan 10 '10 at 12:10
feedback

I had the same problem but it resolved when I ran "cmd" as administrator, then typed the winsat commands in the command prompt box.

link|improve this answer
feedback

there is a parameter -xml , which saves the output to a xml file.

see http://technet.microsoft.com/de-de/library/cc742157(WS.10).aspx .

for example: WinSAT disk –read –ran –ransize 4096 –drive k -xml C:\test.xml

link|improve this answer
feedback

Doesn't do that over here - but try:

winsat disk -seq -read -drive c & pause
link|improve this answer
Alas, that calls pause in the calling window, i.e., the cmd window that I run winsat from. – Rob Cowell Jan 10 '10 at 11:51
Sounds like whatever's happening is very weird indeed. – Phoshi Jan 10 '10 at 12:04
Yea i thought the & pause should also work.. but it calls it and only shows the output press any key to continue .. it does not actually pause. – ppumkin Jan 6 at 16:40
feedback

Search for CMD and right click it, run as admin, and it will run winsat in the same window (so you can see the results without it closing after it finishes).

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.