Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 12-10-2008
Member
 
Join Date: Sep 2008
Posts: 3
vol info for all drives in batch or vbs

Using a batch file perferrably, then vbs file, but anything will do, I need to list all drives with their volume name and serial # and output it to a text and screen/msgbox. I would like to avoid all unnecessary text/info, such as the "vol" command produces. The format should be:
c(or c name serial #
d(or d name serial #
etc
Is this possible and if so, how?
Thanks

Len
Reply With Quote
  #2  
Old 13-10-2008
Member
 
Join Date: Dec 2007
Posts: 1,592
Perhaps, a VBScript using WMI's Win32_LogicalDisk would be pretty straightforward to use for this...
or
Try generating a basic VBScript with WMICodeCreator. A little searching will show how to make the computer name a variable that can be supplied when you invoke the script.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "vol info for all drives in batch or vbs"
Thread Thread Starter Forum Replies Last Post
Eset NOD32 lock sata drives while using external drives Ecchumati Networking & Security 9 24-11-2011 02:13 PM
My Windows XP laptop has stopped recognising/working with my external hard-drives and USB flash-drives HowlCat Operating Systems 1 30-09-2011 12:00 PM
QNAP NAS with an option for SATA 2 drives and SATA 3 drives aGRaTA Operating Systems 2 17-09-2011 11:32 PM
SYSTEM process (USBPORT.SYS) takes 50% CPU power + USB drives n mobiles not recognized + NADFOLDER & Autorun.inf issue with USB drives and PC's rahularoracream XP Hardware 3 16-10-2010 10:22 PM
Batch syntax - parse registry key for info alfalyte Operating Systems 1 23-07-2009 06:47 PM


All times are GMT +5.5. The time now is 05:55 AM.