Article View: alt.lang.basic
Article #466Re: Command-line operable FDISK substitute
From: Dan Pop
Date: Thu, 07 Dec 1995 10:00
Date: Thu, 07 Dec 1995 10:00
27 lines
1649 bytes
1649 bytes
In <4a57ik$ho5@sundog.tiac.net> djones@tiac.net (Don Jones) writes: >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, He'll need a lot of good luck because FDISK (the DOS flavour) doesn't look like an application getting its input from stdin :-) Dan -- Dan Pop CERN, CN Division Email: danpop@mail.cern.ch Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
Technical Details
Message-ID:
<danpop.818330404@rscernix>Path:
arc1-ca.pugleaf.net!CERN.ch!rscernix!danpopReferences:
<4a4v4j$1n8p@tako.info.ucla.edu> <4a57ik$ho5@sundog.tiac.net>Show Full Headers
Complete Article Headers
Newsgroups: alt.lang.basic,comp.lang.basic.misc,alt.lang.asm,comp.lang.asm.x86,comp.lang.asm370,comp.lang.c,comp.lang.c++ Path: arc1-ca.pugleaf.net!CERN.ch!rscernix!danpop From: danpop@mail.cern.ch (Dan Pop) Subject: Re: Command-line operable FDISK substitute X-Nntp-Posting-Host: ues5.cern.ch Message-ID: <danpop.818330404@rscernix> Sender: news@news.cern.ch (USENET News System) Organization: CERN European Lab for Particle Physics X-Newsreader: NN version 6.5.0 #7 (NOV) References: <4a4v4j$1n8p@tako.info.ucla.edu> <4a57ik$ho5@sundog.tiac.net> Distribution: inet Date: Thu, 7 Dec 1995 10:00:04 GMT