X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Thu, 20 Sep 2007 20:47:55 -0400 Message-Id: <200709210047.l8L0ltx8027296@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: (My_address@end.of.post) Subject: Re: How to copy a file? References: <200709210020 DOT l8L0KG9G026658 AT envy DOT delorie DOT com> Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > system(string); /* string contains "copy " */ > > ... as I tried? It compiles OK, and appears to execute when I single-step > the program under RHIDE, but it takes an instant - not a minute or more - > and the file doesn't get copied. I don't know what I'm doing wrong. Are you checking the error return? There is no "copy" system program, it's a shell built-in. DJGPP may not be able to access the same built-ins as the dos shell.