Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for bootdrv1.bat

(view source code of bootdrv1.bat as plain text)

  1. @ECHO off
  2. :: By Laurence Soucy
  3. :: http://bigfoot.com/~batfiles/
  4. ::
  5. :: To place drive letter into variable
  6. ECHO %comspec%|choice.com/n/c%comspec% set bootdrv=>%temp%.\bootdrv$.bat
  7. FOR %%c in (CALL DEL) do %%c %temp%.\bootdrv$.bat
  8. ECHO "%bootdrv%"
  9.  

page last modified: 2024-04-16; loaded in 0.0169 seconds