Thanks, Phil. This would seem to be what I want. However, I can't get the function to produce a value. I'm trying

put queryRegistry("HKEY_LOCAL_MACHINE\SYSTEM \CurrentControlSet\Services\Disk\Enum\")

in the message box, but nothing comes back. What am I doing wrong?

Thanks.
Richard Miller


On Feb 7, 2007, at 1:50 PM, Phil Davis wrote:

Hi Richard,

Richard Miller wrote:
How can I get a list of the full names of all currently running volumes under Windows? I know there is a volumes function, but that only returns the drive letters. I need to see the full names of these drives. Does this require a shell command, and if so, what would that be?


On Windows, all the info you want is in the registry. That means you can get it very quickly with Rev's 'queryRegistry' function.

Check out these registry locations (or whatever they're called), and see how their values change as you mount, unmount, disconnect various storage devices:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Disk\Enum\

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR\Enum\


There may be other registry values you need as well, but I'm guessing the second one in the above list will help.

HTH -
Phil Davis
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to