|What exact information are you after? Can you give an example of a string?|
I had a quick look through the api docs and couldn't find anything promising. There is some WMI stuff(that I don't understand), but minimum supported client == win xp :(.
There is normally some device strings for removable storage in the registry under "HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices" the values "\DosDevices\X:" have binary data(of what I think may be unicode) that often contains id's.
They can normally be traced back to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum" to the device type entries.
Just to put you off trying it too seriously:
1. The reg build up DOES vary between windows versions.
2. Forget about following Partitions, it's a nightmare.
Of course using the registry would probably be a hack, I can't be of much more help than that.
Batch Variable how to