Path: 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 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" * *****************************************************************************