delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/02/07:08:30

Date: Tue, 2 Jul 1996 13:50:23 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Peter Milliken <pdmillik AT mpx DOT com DOT au>
Cc: djgpp AT delorie DOT com
Subject: Re: Bug in sub-program calls
In-Reply-To: <4r9lk0$7io@inferno.mpx.com.au>
Message-Id: <Pine.SUN.3.91.960702134648.19625A-100000@is>
Mime-Version: 1.0

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?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019