#148843 - 2005-09-30 06:03 AM
Re: Killing Win9x machines
|
NTDOC
Administrator
   
Registered: 2000-07-28
Posts: 11634
Loc: Space
|
http://www.fdisk.com/fdisk/scriptfdisk.txt
An FDISK script from a patron of www.fdisk.com named Ryan:
To make FDISK do whatever you want, automagically go through a dry run in FDISK and write down all the options you enter edit a file and call it fdisk.scr in that file, put each option, one per line, and make sure you press return after each one save the file now, when you run fdisk, make sure you run fdisk < fdisk.scr and viola.. you are all fdisked up
as an example my batch file looked like this REM ** autoform.bat** echo Run FDISK? choice /c:yn if ERRORLEVEL 2 then goto FORMAT if ERRORLEVEL 1 then goto FDISK :FDISK call fdisk.bat goto END :FORMAT format c: /s/u goto END :END
REM **fdisk.bat** fdisk < fdisk.scr
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 2220 anonymous users online.
|
|
|