On Thu, 16 Jun 2005, Steve Hay wrote:
> We could scan through $ENV{PATH} (before clearing it!) looking for
> bcc3250mt.dll, but even then we can't copy it using system() quite as
> easily as Cygwin because Win32 doesn't actually have a copy executable
> -- it is built into the shell... which also doesn't have a predictable
> name (cmd.exe, command.com) or location.

I don't quite understand this. system() on Win32 will invoke the command
via the shell automatically if it cannot run it directly. You even can
bypass the attempt to run without the shell by using any of the shell
meta characters <>|%"' in your command.

Anyways, if the copy command didn't work, then this is a bug.

Cheers,
-Jan



Reply via email to