Thanks for help with VBS code.
I'm still searching for some subroutine in Fortran to have the same - to ask windows of PnPDeviceID of plugged usb device to my pc. When I find something I will post here.
ok, it looks nice - but it is volume serial number but I need serial number for USB device. Now when I'm still searching for the solutions I've found (I think so) solution but in VB - from vbforums.com:
vb Code:
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer &...
I would like to get Disk Serial Number (not the Volume serial number) of a Generic USB/USB Flash Drive/USB Pen Drive.
Ie: Serial Number: 0013728EE05CF941E62B03E3 - it can be checked for instance with freeware CheckUDisk – USB Flashdrive Information Tool
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.