Re: "Rescan Disks" at the Command Line
I realize this is an old topic, but in the hopes that this helps someone
who ends up here from a search while looking for an answer to this
problem, here are another couple of simple ways to achieve this in
Vista. Neither of these require the use of an external text file.
On the good old fashoned command prompt:
*echo rescan | diskpart*
From a PowerShell prompt:
*"rescan" | diskpart*
Hope this helps!