Date: Sun, 28 Sep 1997 15:03:22 -0700 (PDT) Message-Id: <199709282203.PAA14892@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: jb AT netcom DOT ca, djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Dos level functions Precedence: bulk At 07:54 9/27/1997 -0400, jb AT netcom DOT ca wrote: >Hi, > >I was wondering, what code would I need to make a C program, perform DOS >level functions? >Such as: create a directory, copy files from disk drive to hard drive, >delete files etc. I'm not sure what you mean here. Most of these things have libc functions associated with them. (For those you mention, try mkdir(), link() (sort of cheating), and unlink().) You can invoke DOS prompt commands with system(). All these functions can be read about in the libc docs. If you want to get to a lower level, use _dmpi_int() and read Ralf Brown's Interrupt List for what functions are available and how to call them. Hope this helps, let me know if I haven't answered your question. Nate Eldredge eldredge AT ap DOT net