From: Rick Currie Newsgroups: comp.os.msdos.djgpp Subject: Re: Question Date: Thu, 05 Feb 1998 14:55:28 -0800 Organization: PACCAR Technical Center Lines: 9 Message-ID: <34DA4360.20F2@paccar.com> References: <8oqXg3q00iV909qXg0 AT andrew DOT cmu DOT edu> NNTP-Posting-Host: rick-currie.techcenter.paccar.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk James W Sager Iii wrote: > > I was wondering if there is a command to exit the current program and > immediately run another. > IE: Exit setup.exe and immediately run a start.exe Yes. Take a look at the exec*() functions (execl, execlp, execv, etc.). I think you'll find what you need there. RJ