erniedobson on 03/04/10
Last Edited at 03/04/10 04:56am
@echo offrem Vol information is displayed if called with an argument, otherwise the drive letters are displayedset INFO=%1 call :Drive 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 Zset INFO=goto :EOF :Drivevol %1: > nul 2>nulIf ERRORLEVEL 1 goto Next if not "X"%INFO%=="X" (vol %1:) else echo %1::Nextshiftif NOT "X"%1=="X" goto :Drive
URL: http://www.maycroft.net/index2.htm
Report this snippet Tweet
Comment:
You need to login to post a comment.