How to get drive letter and drive name (i mean like d[my data]:\" programatically?
PS: i don't want to use FSO coz i don't want dependencies. and with FSO i have to make a reference to FSO.
Printable View
How to get drive letter and drive name (i mean like d[my data]:\" programatically?
PS: i don't want to use FSO coz i don't want dependencies. and with FSO i have to make a reference to FSO.
Perhaps this sample is what you need.
Hmmm....nice but doesn't give drive names
There is also GetVolumeInformation api - here is another sample (didn't take much to search for that either).
The WNetGetConnection API may also be of interest