Hi! We already have command line control for at least one of the fdisk variants which usually ship with FreeDOS, but using that to let the installer auto-kill all the data of the user gives me nightmares.
You can simply use FDISK /? (who would have guessed it) to get a list of the command line controlled options of FDISK, such as the /CLEAR option which deletes all partitions or /PRI to create them. You can also backup your MBR with FDISK /SMBR and restore it using FDISK /AMBR which is nice if you used FDISK /MBR or FDISK /BMBR to kill your boot menu or overwrite it with "booteasy", or used FDISK option /RMBR to remove the MBR boot code completely... Another useful option set is CLEARFLAG SETFLAG and TESTFLAG to find out which partitions are bootable etc. or to change boot-abilities. You can use FDISK /INFO, FDISK /INFO /TECH, FDISK /STATUS and even FDISK /DUMP to display the current partitioning situation of disks. Cheers, Eric ------------------------------------------------------------------------------ _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
