Author Options:

Batch file that can view hard drive temperature? Answered

Computer: Compaq Presario S6000CL
Uses: Microsoft Windows XP Home SP3 Version 2002

These computers have temperature sensors on the hard drive standard, I'm trying to figure out how to use it through a batch (MS-DOS) Script, I know quite a bit about batch but I'm kind of stuck here, I'll ask any questions in the comments, any help will be appreciated. Thank you.


Why do you want to do that?
There are plenty of easy ways to read CPU temperature, but it's not something that was ever built into the command line set.


Sorry, I didn't realize that when i posted this, I'll try something else, but not related to batch. What i was trying to do was make a file that would check the 'health' of the computer, little did i know was that batch command lines are quite outdated with modern computers, not to mention limited. I'm very sorry for the inconvenience.

Don't apologise.
A machine is either too hot or it isn't, what temperature it is doesn't matter outside of that.
If it's in good condition there's no need, if you want a spot-check there are things to download.


Why? For example to run a scheduled batch file every x minutes to supervise a server somewhere in a cabinet / remote room and send an email / SMS when there is a problem. I don't have a solution, sorry - but the problem seems legit.