
If the GDisk commands will operate on the various disks, specify the disk number on each line of the batch file. If all the GDisk commands will operate on the same fixed physical disk, specify the disk number on the GDisk command-line that calls the batch file or on each line of the batch file. In the text file, GDisk ignores blank lines and lines starting with the hash symbol (#). The name of the text file must follow DOS conventions, but the filename extension does not have to be TXT. GDisk opens the file and executes the commands within the file until all commands have been executed or one of the commands encounters an error. Using the /BATCH command with the name of a text file allows GDisk commands to be supplied without user intervention during GDisk operation. Specifying /BATCH commands in a text file Partition Status Type Volume Label Mbytes System Usageĭ: 3 *CREATED* LOG DOS Unformatted 507.9 FAT16 17% This session creates an extended partition on the second physical disk.Ĭomplete the following command (ENTER to quit): Here is an example of how an interactive session might look. The command-line format is:įor instance, the following command will load GDisk, prompt the user for additional commands, then wait for further input from the user: Using the /BATCH command without the name of a text file allows GDisk commands to be supplied interactively at a prompt. If the command-line calls a batch file, the switches specified on the command-line are run after running the commands contained in the batch file. Switch lists the command-line parameters (switches). If no filename is provided, GDisk prompts the user (interactively) for the command-line parameters. This command is optional.įilename provides GDisk with the name of the text file that includes multiple GDisk commands. BATCH tells GDisk that it will be executing multiple GDisk commands. Gdisk /BATCH ]ĭisk tells GDisk which fixed physical disk (1 through 8) the commands apply to. GDisk's batch mode uses the following command-line format: The operations can be specified interactively at a DOS command-line, or they can be supplied in advance in a text file. The batch mode switch, /BATCH, allows GDisk to perform multiple operations with a single command. The format of this command is:įor instance, the following command displays information regarding deleting partitions: Help on a particular operation is available by using the switch for the operation without additional parameters. General help is available by using the ? switch: In addition, GDisk provides help from the command-line. These commands can be run from the DOS command-line or from a batch file (/BATCH). Reinitialize the master boot record (/MBR) Hide or unhide a partition (/HIDE and /-HIDE) The seven operations are:Īctivate or deactivate a partition (/ACT and /-ACT) This document describes the options available for each operation. GDisk is a DOS program with seven main operations. You want an introduction to using the GDisk switches. But if you need them, here is a list of the GDisk Switches: But certainly FDISK wasn't going to do what you needed. Just highlight the partition and press the Del key. Most times just to delete an extended DOS partition I just use DELPART since it has a GUI interface which some folks find a bit easier to use. If you want to use GDISK, here are the switches it uses. It is a single executalbe that is under 200k.īut either way FDISK can't remove that second NTFS partition
#GDISK WIPE DOD ISO#
The CD image needs to be burned using a program that recognized ISO images.Ī small, free program to do this can be downloaded at. READNTFS - Reads and Copies files from a NTFS partition. Can delete extended NTFS partitions.įDISK121 - FDISK with additional options - See the documentation, and In addition to all the other DOS utilities, the CD version also has:ĭELPART - For deleting DOS and NTFS partitions. It automatically loads with support for a generic CD ROM and assigns it the drive letter of X: For example Diskcopy, Doskey, Format, More, Move, Sys, Edit, Chkdsk, Deltree, Extract, Updated Fdisk, Attrib, Label, Mem, Scandisk, Scanreg, Smartdrv and Xcopy. There are a lot of the DOS utilities there that don't normally get added when you make one from Win98.
#GDISK WIPE DOD DOWNLOAD#
If you would like to create a bootable CD ROM, there is also a CD ROM boot image you can download at: I don't believe DOS's FDISK can delete the extended NTFS partition on your 160 gig drive.įortunatly there is a DOS program called DELPART that can do this for you
