Ink Blot welcomes you to Lance's Web Site!

I've decided to resurrect my web site on a limited basis; mainly to discuss FAT32X, but also to test a new site build process. LC

(best viewed at 800x600 full screen!)


Home
Boot Sectors
FAT32X
Utility Programs
Site Map

PBREDIT

Partition Boot Record Editor

Download

PBREDIT.ZIP or PBREDIT.EXE

Description

This program edits the partition boot record. Only FAT type boot records can be edited.

Help

C:>pbredit -?

PBREDIT (01.02, 05/03/98) - Partition Boot Record Edit
usage: PBREDIT (DRIVE)
         [-D (BIOSDRIVE)]
         [-T (TSECTORS)]
         [-H (HSECTORS)] [-Q (ADDR).(VALUE)] [-W]

PBREDIT (01.02, 05/03/98)

(DRIVE) specifies the disk drive.
   Must be A: thru Z: for logical DOS drives.
   May be @(FILE) to specify an external file.

-D sets the BIOS drive.

(BIOSDRIVE) is the bios drive number, $00, $80 thru $83.

-T sets the total number of sectors.

(TSECTORS) is the total number of sectors in the partition.
   This value is placed in the 'big.total.sectors' field.

-H sets the hidden sectors.

(HSECTORS) is the number of hidden sectors.

-Q sets a specific byte.

(ADDR) is a boot sector address from 0 to 511 (or $00 to $1FF)

(VALUE) is a value from 0 to 255 (or $00 to $FF)

-W writes to disk.

Sample Execution


Functionality

Parse parameters. Read PBR. Display PBR. Modify working copy of PBR. Display modified PBR. Write PBR if -W option was specified.

Notes

None.
Lance Costanzo, [email protected]