copied from 8.04 to 7.10 script
[camarabuntu.git] / dban / dban-1.0.7 / install.bat
blob5a78194e487241eadb98ba71959be5f1242019d4
1 @echo off\r
2 \r
3 echo.\r
4 echo  Install Darik's Boot and Nuke\r
5 echo  ------------------------------\r
6 echo.\r
7 echo  Please note that DBAN is very sensitive to media quality. If you use\r
8 echo  anything but a perfectly good floppy disk, then DBAN may not start.\r
9 echo.\r
10 echo  Remember to remove and properly label the DBAN floppy disk after it is\r
11 echo  written. You might reboot and accidentally wipe this computer by mistake.\r
12 echo.\r
13 echo  Product updates and additional documentation are available at:\r
14 echo  http://dban.sourceforge.net/\r
15 echo.\r
16 echo  Insert a blank floppy disk now and press any key to continue.\r
17 echo  Click "ignore" if a virus scanner traps access to the floppy drive.\r
18 echo.\r
20 pause > nul\r
22 REM Rawrite2 only takes 8.3 file names and RawWriteWin is buggy.\r
23 REM Copy the floppy image file to the temp directory so that we\r
24 REM can use a wildcard expansion instead of a short tilde name.\r
26 copy /b dban*.img %TEMP%\dban.img > nul\r
28 REM Write the floppy image to the first floppy drive.\r
30 rawrite2.exe -f %TEMP%\dban.img -d A: -n\r
31 echo Press any key or click the 'X' button to close this window.\r
33 REM Clean up and pause so that the user can see the result.\r
35 del %TEMP%\dban.img > nul\r
36 pause > nul\r
38 REM Clear the screen so that 95/98/ME systems close the window.\r
40 cls\r
42 REM eof\r