Command in a Batch file to "Rescan Disks"

endoftheline2

Distinguished
May 9, 2009
59
0
18,640
I'm looking for a command that I can put in a batch file that will automatically "Rescan Disks"

See screenshot:

http://img297.imageshack.us/img297/8277/rescandisks.jpg

Basically I have a drive connected via ESATA and it only comes on sometimes, unless I rescan disks and then it always turns on.

So I am trying to make a batch file with a command to rescan the disks, that I can then set to run using the windows scheduled tasks, at a certain time, so the computer will awake from sleep and then rescans the disks automatically(thus detecting my sata disk), and then My backup will be able to run.
 

TRENDING THREADS