🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6762

More on my batch file problem

#6762
From: Michael A. Migdol
Date: Thu, 23 May 1991 01:49
35 lines
1619 bytes
     Ok, maybe I'm an idiot for trying to do this, but here's a summary of
my efforts: I'm trying to run several applications in a row from a batch
file. For various reasons, I've concluded that the machine needs to reboot
between applications. So, here's what I've got:

batch1
copy \autoexec.bat \autoexec.tmp
appl1
copy batch2 \autoexec.bat
reboot { a small program I wrote to cold boot the machine }

batch2
appl 2    
copy batch3 \autoexec.bat
reboot

batch3
appl3
copy \autoexec.tmp \autoexec.bat
reboot

Make sense? The problem is that the batch file is writing over itself...does
anyone have any suggestions? 

Thanks in advance!


*****************************************************************************
*  Michael A. Migdol                  |    Disclaimer:                      *
*  migdol@emx.utexas.edu              |       "I may be wrong"              *
*  University of Texas, Austin        |           (Thanks Robert Fulghum!)  *
*****************************************************************************
*               "There's no such thing as a simple miracle"                 *
*****************************************************************************
Technical Details
Message-ID: <49380@ut-emx.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!emx.utexas.edu

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!emx.utexas.edu
From: migdol@emx.utexas.edu (Michael A. Migdol)
Newsgroups: comp.os.msdos.programmer
Subject: More on my batch file problem
Message-ID: <49380@ut-emx.uucp>
Date: 23 May 91 01:49:58 GMT
Sender: migdol@ut-emx.uucp
Distribution: na
Organization: The University of Texas at Austin; Austin, Texas
Lines: 35