Date: Tue, 2 Jul 1996 13:50:23 +0200 (IST) From: Eli Zaretskii To: Peter Milliken Cc: djgpp AT delorie DOT com Subject: Re: Bug in sub-program calls In-Reply-To: <4r9lk0$7io@inferno.mpx.com.au> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 1 Jul 1996, Peter Milliken wrote: > /* > ** This gives "invalid drive specification error > */ > result = spawnlp(P_WAIT, > "c:\\dos\\xcopy.exe", > "c:\\dos\\xcopy.exe", > "c:\\test.c r:\\", > 0); Why do you think this is a problem with `spawnlp'? ``Invalid drive specification'' can easily mean that something's wrong with XCOPY accessing your r: drive. Does this command works from the DOS prompt? What happens if you change "r:\\" to some other directory on your c: disk--does it work then?