Get Drive and Volume from Drive Letter
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Get Drive and Volume from Drive Letter

 
Post new topic   Reply to topic    Windows Server Forum Index -> Programming
Author Message
Clay Calvert
Guest





Posted: Thu Dec 23, 2004 7:43 am    Post subject: Get Drive and Volume from Drive Letter Reply with quote

Given a drive letter, how would one get the Disk number and Volume
number for the drive? The ultimate goal for this information is to
pass it to DiskPart to extend a volume. If there is a more direct
method of extending a volume knowing only a drive letter then that
would be even better.

Thanks,

Clay Calvert
CCalvert@Wanguru.com
Replace "W" with "L"
Back to top
Desmond Lee
Guest





Posted: Fri Dec 24, 2004 3:17 pm    Post subject: RE: Get Drive and Volume from Drive Letter Reply with quote

www . lee desmond . com > Windows Scriptlets >
How to determine basic OS information (VBS)

Do let us know if it helps.


"Clay Calvert" wrote:

Quote:
Given a drive letter, how would one get the Disk number and Volume
number for the drive? The ultimate goal for this information is to
pass it to DiskPart to extend a volume. If there is a more direct
method of extending a volume knowing only a drive letter then that
would be even better.

Thanks,

Clay Calvert
CCalvert@Wanguru.com
Replace "W" with "L"
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Programming All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB