From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: System crashing - system( "readme.txt" ); Date: Tue, 03 Feb 1998 20:26:30 -0500 Organization: Cornell University (http://www.cornell.edu/) Lines: 13 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <34D7C3C6.39DD488@cornell.edu> References: <34D75A22 DOT C52E4737 AT swipnet DOT se> NNTP-Posting-Host: cu-dialup-0608.cit.cornell.edu 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 Nils Anders Danielsson wrote: > > When I run a program with something like "system( "readme.txt" );" in > the code, the program crashes, both under Windows 95 and DOS 7. > > Why? i don't know why. however, system("start readme.txt"); correctly starts notepad under windows 95. -- Sinan