🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.basic
Article #464

Re: Command-line operable FDISK substitute

#464
From: Don Jones
Date: Wed, 06 Dec 1995 23:04
20 lines
1410 bytes
In article <4a4v4j$1n8p@tako.info.ucla.edu>,
Steve Andres <steven@ucla.edu> wrote:
>Does anyone have a command line FDISK substitue?  I'm trying to write a 
>workstation rebuild utility for a computer lab and it needs to run a batch file 
>that will delete and recreate the partition, format it, and unzip a file.
Just a thought. Create a file with all of the necessary keystrokes,
for example, to view information under DOS 5.0 fdisk you need to hit
4 and then the enter key.  When you are done viewing the information,
you need to hit ESC twice.  Create a file KEYS and put '4<CR><ESC><ESC>'
without the quotes into it.  Then redirect the file to FDISK like:

fdisk <keys

good luck,

don
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Don and Sue Jones       |   If debugging is the process of removing errors,
djones@max.tiac.net     |   Then programming is the process of putting them in.
Technical Details
Message-ID: <4a57ik$ho5@sundog.tiac.net>
Path: arc1-ca.pugleaf.net!sundog.tiac.net!djones
References: <4a4v4j$1n8p@tako.info.ucla.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sundog.tiac.net!djones
From: djones@tiac.net (Don Jones)
Newsgroups: alt.lang.basic,comp.lang.basic.misc,alt.lang.asm,comp.lang.asm.x86,comp.lang.asm370,comp.lang.c,comp.lang.c++
Subject: Re: Command-line operable FDISK substitute
Date: 6 Dec 1995 23:04:52 GMT
Organization: The Internet Access Company
Distribution: inet
Message-ID: <4a57ik$ho5@sundog.tiac.net>
References: <4a4v4j$1n8p@tako.info.ucla.edu>
NNTP-Posting-Host: sunspot.tiac.net