Results 1 to 2 of 2

Thread: vol info for all drives in batch or vbs

  1. #1
    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

  2. #2
    Join Date
    Dec 2007
    Posts
    1,599
    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.

Similar Threads

  1. Eset NOD32 lock sata drives while using external drives
    By Ecchumati in forum Networking & Security
    Replies: 9
    Last Post: 24-11-2011, 02:13 PM
  2. Replies: 1
    Last Post: 30-09-2011, 12:00 PM
  3. Replies: 2
    Last Post: 17-09-2011, 11:32 PM
  4. Replies: 3
    Last Post: 16-10-2010, 10:22 PM
  5. Batch syntax - parse registry key for info
    By alfalyte in forum Operating Systems
    Replies: 1
    Last Post: 23-07-2009, 06:47 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,043,219.28707 seconds with 17 queries