X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Thu, 22 Jul 2004 22:13:32 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-Id: <9003-Thu22Jul2004221332+0300-eliz@gnu.org> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: (uiterl@xspamxnlr.nl) Subject: Re: make 3.79.1 problem with copy command (Windows XP) References: Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Rob Uiterlinden" > Newsgroups: comp.os.msdos.djgpp > Date: Thu, 22 Jul 2004 15:28:43 +0200 > > make test1 gives: > copy longfilename.txt a.txt > File not found - LONGFILENAME.TXT > 0 file(s) copied Try test1: cmd.exe /c copy longfilename.txt a.txt The problem here is that XP invokes COMMAND.COM as the shell for DOS programs, and it looks like the version of COMMAND.COM they use doesn't support long file names. CMD does. (You should be much better off using cp.exe from GNU Fileutils instead of COPY and othet shell built-ins.)