Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!elroy.jpl.nasa.gov!decwrl!ogicse!pdxgate!eecs!mwizard From: mwizard@eecs.cs.pdx.edu (Craig Nelson) Newsgroups: comp.lang.c++ Subject: Re: How can I use Turbo C++ to interact with DOS command? Keywords: No Message-ID: <1710@pdxgate.UUCP> Date: 21 Feb 91 07:45:37 GMT References: <667114737.1067@zeus.uop.edu> Sender: news@pdxgate.UUCP Lines: 17 yusri@uop.EDU (Mohd Yusri Abdol) writes: >Hi Everyone! > I have a quick question. How can I write a program in Turbo C++ > such that I can copy a file, or delete a file, or change directory, > or whatever wonderful things that DOS can do. This is actually my > class project, and my professor asked me to do something like a > menu program where people can just use arrow key instead of typing > the command (He asked us to find ourselves, and I'm doing the right > thing, right?). Check out the spawn() family of functions from your text (if its even in there) or from the Turbo C++ Reference Book. This should be what you're looking for. Thats all I'll say. (Can't give away too much) Craig Nelson (mwizard@eecs.ee.pdx.edu)