delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/08/12:29:26

From: earnie_boyd AT yahoo DOT com (Earnie Boyd)
Subject: Re: help b19 cygnus
8 Oct 1998 12:29:26 -0700 :
Message-ID: <19981007182404.10675.rocketmail.cygnus.gnu-win32@send103.yahoomail.com>
Reply-To: earnie_boyd AT yahoo DOT com
Mime-Version: 1.0
To: Apsmms001 AT aol DOT com
Cc: gw32 <gnu-win32 AT cygnus DOT com>

---Apsmms001 AT aol DOT com wrote:
>
> Earnie Boyd 
> 
> Sorry for bothering you. 
> I wonder if you can help me.
> I already compiled my .c program got my executable.
> Question: Why is it that my .exe file only run in the /bin directory.
> 	          What will I add to my code to run it in different
directory.

There is a dependency on the cygwinb19.dll.  In order to put the
executable in a different directory and run it from the MSDOS the PATH
variable must include the path to the cygwinb19.dll in MSDOS format.

IE:

If you have the cygwinb19.dll in C:\BIN then you will need to
set PATH=C:\BIN;%PATH%

Having done this you would be able to execute you .exe from any
directory.
==
-                \\||//
-----------o0O0--Earnie--0O0o------------
--        earnie_boyd AT yahoo DOT com        --
-- http://freeyellow.com/members5/gw32 --
--------------ooo0O--O0ooo---------------

PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019