bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make doesn't recognise DOS internal commands CD, MOVE etc.


From: Steve Taylor
Subject: make doesn't recognise DOS internal commands CD, MOVE etc.
Date: Thu, 6 Jun 2013 22:04:59 +0000

Is there a fix for this?

I'm using GNU Make 3.81 on Windows 7.  

Lines like this...

        CD D:\Steve\data
        MOVE prog1.log ..

... cause an error like this...
process_begin: CreateProcess(NULL, CD D:\Steve\data, ...) failed.
make (e=2): The system cannot find the file specified.

I have a workaround for MOVE by using CMD /C MOVE.  But this approach with CD 
does not change the current working directory.

Help please?

cheers,
     Steve
____________________________________________

Steve Taylor
   Biostatistician
   Faculty of Health and Environmental Sciences
   AUT University
   http://www.aut.ac.nz/profiles/steve-taylor
____________________________________________




reply via email to

[Prev in Thread] Current Thread [Next in Thread]