Welcome, guest | Sign In | My Account | Store | Cart

For keeping order drive naming with active diskpart using.

Batch, 8 lines
1
2
3
4
5
6
7
8
@echo off
  setlocal
    ::possible drive letters
    set "map=A B C D E F G H I J K L M N O P Q R S T U V W X Y Z"
    ::checking!!!
    for %%i in (%map%) do @%%i: 2>nul && echo %%i:\
  endlocal
exit /b
Created by greg zakharov on Mon, 19 Nov 2012 (MIT)
Batch recipes (42)
greg zakharov's recipes (59)

Required Modules

  • (none specified)

Other Information and Tasks