Path: utzoo!mnetor!uunet!mcvax!cernvax!ethz!zu From: zu@ethz.UUCP (Urs Zurbuchen) Newsgroups: comp.sys.ibm.pc Subject: Re: Oooh Yeccheo. How Does This One Really Work?!? Message-ID: <264@bernina.UUCP> Date: 9 Dec 87 12:16:51 GMT References: <164300022@uiucdcsb> <412@wa3wbu.UUCP> <13091@beta.UUCP> <1269@phoenix.Princeton.EDU> Reply-To: zu@bernina.UUCP (Urs Zurbuchen) Organization: ETH Zuerich, CS Department, Switzerland Lines: 41 In article <1269@phoenix.Princeton.EDU> rjchen@phoenix.Princeton.EDU (Raymond Juimong Chen) writes: >In article <13091@beta.UUCP> it was written: >What you'd probably want is something like > >AUTOEXEC.BAT: > doit > >DOIT.BAT: > copy \autoexec.ddd \autoexec.bat > del \autoexec.ddd > do other stuff > reboot. > >AUTOEXEC.DDD: > same as before You could the same thing without changing your AUTOEXEC.BAT. With the solution presented above you will execute the same second version of AUTOEXEC.BAT each time you reboot your machine (perhaps that's really what you want, but my imagination doesn't go that far. If so, just disregard this article). My solution: In the startup file you include the following: if existgoto second echo gaga > :second That's it. If you want to toggle between the two boot modes just add a line like: del I hope this will help anybody :-) ...urs UUCP: ...seismo!mcvax!cernvax!ethz!zu