How to find disk index number of a given disk? RRS feed

  • Question

  • Hello Everyone,

    I would like to format disk using diskpart utility. By using text file as parameter to diskpart.

    There I need to Identify the "Disk Index" dynamically. for Ex example I need to format my "Pen drive" which is mounted to F:\ And I need to get the corresponding "Disk Index" to use with diskpart utility.

    Is there any way to get "Disk Index"?


    Thanks in Advance.


    N Jagan Mohan Rao
    Monday, May 2, 2011 6:53 AM