[Top][All Lists]

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

RE: Running cp.exe

From: Pratt, Nick
Subject: RE: Running cp.exe
Date: Sat, 3 Mar 2001 17:50:19 -0500

I couldnt find a working makefile for Microsoft Visual C++ 6 in the fileutils distrib, hence why I used the only available pre-compiled binaries I could find on the net (which were v3.16).

If you could point me to a makefile for MSVC6 or to a prebuilt v4 file utils package for MSDOS that would be great.

Thanks for you reply {:-)


-----Original Message-----
From: Bob Proulx [mailto:address@hidden]
Sent: Saturday, March 03, 2001 00:16
To: Pratt, Nick
Cc: 'address@hidden'
Subject: Re: Running cp.exe


Note that I am not the maintainer but just another hacker on the bug

> OS: Windows NT 4 / Windows 2000 from command line.
> Ive got the 3.16 prebuilt version of cp.exe
> When I run it from the command line, it messes with the command prompt,
> V:\Aurora\BuildScripts>cp
> v:/aurora/builds~1/cp: missing file arguments

Hmm...  I would have guessed that somewhere in the code it was doing a
chdir(dir_name) or some such where dir_name was gotten from a pwd()
call that returned the MSDOS 8.3 name instead of the new windows long
names.  But when I scanned the code looking for such a thing I could
not find anything that would have caused your behavior.  However the
version of the code I was scanning was test beta release 4.0.41, a
whole major release later than your version 3.16.

I am wondering if this is somehow related to the compiler used to
compile your cp.exe.  If it was a MSDOS compiler then perhaps the C
runtime startup libraries do not know about the longer windows names.
I do not know and cannot predict.  But perhaps compiling this with a
newer windows aware compiler would solve the problem.

If it were possible for you to update to a newer version of fileutils
it would probably help.  I am pretty much solely a unix programmer and
am at a loss to help when it comes to MS platforms.


reply via email to

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