Mail Archives: djgpp/1996/07/02/07:08:30
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 -