Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!seas.gwu.edu!timur From: timur@seas.gwu.edu (The Time Traveler) Newsgroups: comp.windows.ms Subject: Re: How may I automatically run a batch upon startup of DOS shell? Keywords: batch file non-windows application Message-ID: <2310@sparko.gwu.edu> Date: 5 Nov 90 20:20:21 GMT References: <1990Nov5.100924.27076@agate.berkeley.edu> Reply-To: timur@seas.gwu.edu () Distribution: comp.windows.ms Organization: The George Washington University, Washington D.C. Lines: 30 In article <1990Nov5.100924.27076@agate.berkeley.edu> c60c-3fz@e260-3f.berkeley.edu (In Sik Rhee) writes: >Ok, here's the way to do it (tricky, but works) > >you're gonna create 2 batch files... in the first one, lets call it dos.bat, >you type in the name of the second batch file (Don't CALL it, just execute >it). The second batch file is the one you will want to run... so for ex. > >DOS.BAT will have: > @echo off > go > >and GO.BAT will have what you want to do... it'll give you a prompt after >go.bat is finished... I forget the exact reason why it does this, but it's >gotta do something with having to "CALL" a batch file from within a batch >file... anyway, it works, so why complain :) I tried this, and I can't get it to work. I told the .PIF file to load DOS.BAT, and then I tried loading COMMAND.COM /C DOS.BAT, and that didn't work either. In both cases, it opens and closes the DOS window. And at 25Mhz, I can't even see what it's doing!!! Timur ------------------------------------------------------------ The Time Traveler Your daddy works in porno Now that mommy's not around timur@seas.gwu.edu She used to love her heroin HE891C@GWUVM.GWU.EDU But now she's underground - Guns N' Roses