From: "iGOR KBACOB" Newsgroups: comp.os.msdos.djgpp Subject: Re: Autoexec.bat Date: 19 May 1999 04:33:16 GMT Organization: WEBPlus Ltd. Lines: 13 Message-ID: <01bea1b0$f899d620$010301cf@server> References: <000101be9e5f$852db700$74a557ce AT 12 DOT titanlink DOT com> NNTP-Posting-Host: ip51-235.dialup.wplus.net Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Trace: news.wplus.spb.ru 927088396 20445 195.131.51.235 (19 May 1999 04:33:16 GMT) X-Complaints-To: usenet AT news DOT wplus DOT spb DOT ru NNTP-Posting-Date: 19 May 1999 04:33:16 GMT X-Newsreader: Microsoft Internet News 4.70.1155 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com <000101be9e5f$852db700$74a557ce AT 12 DOT titanlink DOT com>... > How do I add the lines into my autoexec.bat file? > > From Colby FILE *autoexec = fopen("c:/autoexec.bat"."r+t"); fseek(autoexec,0L,SEEK_END); fprintf(autoexec,"rem This is new line\n"); ...