home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / msdos / programm / 3229 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  2.4 KB

  1. Xref: sparky alt.msdos.programmer:3229 comp.os.msdos.misc:7186 comp.os.msdos.programmer:12420
  2. Newsgroups: alt.msdos.programmer,comp.os.msdos.misc,comp.os.msdos.programmer
  3. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!newsserver.jvnc.net!louie!pecan.cns.udel.edu!darkstar
  4. From: darkstar@pecan.cns.udel.edu (The Janitor Of Anarchy)
  5. Subject: Re: Batch files
  6. Message-ID: <1993Jan25.152249.8789@udel.edu>
  7. Followup-To: alt.msdos.programmer
  8. Summary: Sounds Neat
  9. Keywords: starfish and coffee...
  10. Sender: usenet@udel.edu (USENET News Service)
  11. Nntp-Posting-Host: pecan.cns.udel.edu
  12. Organization: The Green Circle Of Vengence
  13. References: <1993Jan24.135115.10741@gmuvax2.gmu.edu> <1993Jan25.134613.1@csc.canterbury.ac.nz>
  14. Date: Mon, 25 Jan 1993 15:22:49 GMT
  15. Lines: 43
  16.  
  17. In article <1993Jan25.134613.1@csc.canterbury.ac.nz> Nick FitzGerald <n.fitzgerald@csc.canterbury.ac.nz> writes:
  18. >In article <1993Jan24.135115.10741@gmuvax2.gmu.edu>, skhan@gmuvax2.gmu.edu
  19. >(Shahab Raza Khan) writes:
  20. >
  21. >> I have an interesting question.  I want to write a batch file
  22. >> which would do the following:
  23. >> 
  24. >> 1. Down load our backup software from one of our LANs.  The
  25. >>    software is not in compressed form but regular files.
  26. >> 2. Edit the autoexec.bat file to login to separate accounts on
  27. >>    the LAN (e.g. user1, user2 etc)
  28. >> 3. edit the config.tel file (for use with telnet) and change the
  29. >>    IP number in it (e.g. 129.174.1.1 129.174.1.2 etc)
  30. >> 
  31. >> I have a pretty good idea of how to do the downloading would
  32. >> work.  There are about 50 computers which have to be configured
  33. >> with the above procedure.  So far we have used manual ways to do
  34. >> this.  If anyone has a nice way of doing this please let me
  35. >> know.
  36. >
  37. >I have followed up in News rather than mailing as requested, as this may
  38. >be of more general interest.
  39. >
  40. >Believe it or not, EDLIN (that most ghastly of DOS "utilities") may be
  41. >the answer to your problem.  Its (sole ?) virtue lies in the fact that
  42. >it reads from stdin, so can be driven by a script file.
  43. >
  44. >I've never used it in this manner (I've never used full stop, he adds
  45. >proudly  8-) ), but have seen some fiendishly clever batches in PC Mag
  46. >based (in part) on this.
  47.  
  48. Can anyone please post an example of how to do this?  Thanks in
  49. advance...
  50.  
  51.     --Jerry
  52.  
  53.  
  54.  
  55. -- 
  56.  
  57. Jerry Alexandratos            | "...I love the smell of
  58. darkstar@freezer.cns.udel.edu |     vinyl in the morning..."
  59. darkstar@bach.udel.edu        |   
  60.