troubleshooting Question

get size of pendrive physical

Avatar of johnnyex
johnnyex asked on
Microsoft DevelopmentDelphiProgramming
8 Comments1 Solution942 ViewsLast Modified:
I need routine/function delphi which will check disk size physical.
I not mean volume size but physical.

There is Volume size dependable on formatting options.
And there is physical disk size not matter if drive 8gb will be formatted to 2gb.

I need to get know real drive size in bytes.

Similar info present program called USB image tool.

Disksize() function is not able to get this information sice it checks for volume logical size only.

Please advice
Sinisa Vuk
Software architect

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Top Expert 2012

The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.

Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros