(view source code of bootdrv1.bat as plain text)
@ECHO off
:: By Laurence Soucy
:: http://bigfoot.com/~batfiles/
::
:: To place drive letter into variable
ECHO %comspec%|choice.com/n/c%comspec% set bootdrv=>%temp%.\bootdrv$.bat
FOR %%c in (CALL DEL) do %%c %temp%.\bootdrv$.bat
ECHO "%bootdrv%"
page last modified: 2023-03-10