The Computer Oracle

WinSat command line closes too fast

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Over a Mysterious Island

--

Chapters
00:00 Winsat Command Line Closes Too Fast
00:29 Answer 1 Score 31
00:40 Accepted Answer Score 12
01:04 Answer 3 Score 4
01:25 Answer 4 Score 3
01:47 Answer 5 Score 0
01:55 Thank you

--

Full question
https://superuser.com/questions/93826/wi...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows7 #commandline #winsat #windowsexperienceindex

#avk47



ANSWER 1

Score 31


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




ACCEPTED ANSWER

Score 12


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.




ANSWER 3

Score 3


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




ANSWER 4

Score 0


Doesn't do that over here - but try:

winsat disk -seq -read -drive c & pause