bug-make
[Top][All Lists]
Advanced

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

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


From: Eli Zaretskii
Subject: Re: make doesn't recognise DOS internal commands CD, MOVE etc.
Date: Fri, 07 Jun 2013 09:42:50 +0300

> From: Steve Taylor <address@hidden>
> 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?

First, use the commands in lower case, as in "cd".  Second, "move" is
not currently supported (the next release will), but you should be
able to create a batch file called "move.bat" somewhere on your PATH
that just invokes "cmd /c move %*".



reply via email to

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