🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #1020

Re: Batch files

#1020
From: The Janitor Of Anarchy
Date: Mon, 25 Jan 1993 15:22
43 lines
2398 bytes
In article <1993Jan25.134613.1@csc.canterbury.ac.nz> Nick FitzGerald <n.fitzgerald@csc.canterbury.ac.nz> writes:
>In article <1993Jan24.135115.10741@gmuvax2.gmu.edu>, skhan@gmuvax2.gmu.edu
>(Shahab Raza Khan) writes:
>
>> I have an interesting question.  I want to write a batch file
>> which would do the following:
>> 
>> 1. Down load our backup software from one of our LANs.  The
>>    software is not in compressed form but regular files.
>> 2. Edit the autoexec.bat file to login to separate accounts on
>>    the LAN (e.g. user1, user2 etc)
>> 3. edit the config.tel file (for use with telnet) and change the
>>    IP number in it (e.g. 129.174.1.1 129.174.1.2 etc)
>> 
>> I have a pretty good idea of how to do the downloading would
>> work.  There are about 50 computers which have to be configured
>> with the above procedure.  So far we have used manual ways to do
>> this.  If anyone has a nice way of doing this please let me
>> know.
>
>I have followed up in News rather than mailing as requested, as this may
>be of more general interest.
>
>Believe it or not, EDLIN (that most ghastly of DOS "utilities") may be
>the answer to your problem.  Its (sole ?) virtue lies in the fact that
>it reads from stdin, so can be driven by a script file.
>
>I've never used it in this manner (I've never used full stop, he adds
>proudly  8-) ), but have seen some fiendishly clever batches in PC Mag
>based (in part) on this.

Can anyone please post an example of how to do this?  Thanks in
advance...

	--Jerry



-- 

Jerry Alexandratos            | "...I love the smell of
darkstar@freezer.cns.udel.edu |     vinyl in the morning..."
darkstar@bach.udel.edu        |   
Technical Details
Message-ID: <1993Jan25.152249.8789@udel.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!newsserver.jvnc.net!louie!pecan.cns.udel.edu!darkstar
References: <1993Jan24.135115.10741@gmuvax2.gmu.edu> <1993Jan25.134613.1@csc.canterbury.ac.nz>

Show Full Headers
Complete Article Headers
Newsgroups: alt.msdos.programmer,comp.os.msdos.misc,comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!newsserver.jvnc.net!louie!pecan.cns.udel.edu!darkstar
From: darkstar@pecan.cns.udel.edu (The Janitor Of Anarchy)
Subject: Re: Batch files
Message-ID: <1993Jan25.152249.8789@udel.edu>
Followup-To: alt.msdos.programmer
Summary: Sounds Neat
Keywords: starfish and coffee...
Sender: usenet@udel.edu (USENET News Service)
Nntp-Posting-Host: pecan.cns.udel.edu
Organization: The Green Circle Of Vengence
References: <1993Jan24.135115.10741@gmuvax2.gmu.edu> <1993Jan25.134613.1@csc.canterbury.ac.nz>
Date: Mon, 25 Jan 1993 15:22:49 GMT
Lines: 43