PARTIT.EXE is a program to delete partition table entries, restore the IPL (Initial Program Loader) or ERASE the entire MBR (Master Boot Record) on Hard Drives. Extreme care should be taken, as with any program that writes to the Master Boot Record.

The program is useful when it is is not possible to update the MBR with the normal DOS utilities for partitioning the hard disk, say after a different operating system is no longer required. The IPL can be replaced without destroying the partition tables if it has a Boot Manager or some Virus check code that has overwritten the original IPL.

Running the program without switches will display the 1st Hard Drives Partition characteristics.
The user will be prompted for input before any destructive process is done, UNLESS the /N switch is used!

An Example to ZAP entire MBR on the 2nd Hard Drive:-
PARTIT /D:0x81 /Z or PARTIT /D:1 /Z (the /D:1 tells bios it is the second hard disk)

An Example to ERASE the 2nd partition table enty on 1st Hard Disk, without prompting:-
PARTIT /D:0x80 /P:2 /N (if the /N switch is omitted the user will be propmted for delete)

An Example to restore a normal IPL(Initial Program Loader) to the 1st Hard Disk:-
PARTIT /D:0x80 /R 

!!!Remember that hard drives are numbered from 0x80 >>!!!


/********************************DISPLAY WITH NO SWITCHES**********************************/
Usage :- PARTIT /D:x /P:x /R /Z /N                                              
where /D:x is the drive 0x80 - 0x83                                             
where /P:x is partition on the drive to DELETE (1 - 4)                          
The   /R Restore DOS IPL (does NOT affect partition tables)                     
The   /Z switch tells PARTIT to ZAP entire MBR                                  
The   /N switch tells PARTIT NOT to prompt for DELETE!!!!                       
------------------------------------------------------------------              
Bios Report for Drive:- 0x80                                                    
heads = 254, Cylinders = 523, Sectors = 63, Capacity = 4284951552               
------------------------------------------------------------------              
                                                                                
Start track =    0, End Track =  523, The Partition is Active                   
Windows95 with 32-bit FAT (using LBA-mode)                                      
                                                                                
Start track =    0, End Track =    0, The Partition is NOT Active               
Empty partition-table entry                                                     
                                                                                
Start track =    0, End Track =    0, The Partition is NOT Active               
Empty partition-table entry                                                     
                                                                                
Start track =    0, End Track =    0, The Partition is NOT Active               
Empty partition-table entry                                                     
                                                                                
/***************************************************************************************/

      
                                                                                
