delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/05/02/00:33:04

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <199905020432.VAA16392@shell4.ba.best.com>
Subject: Re: B20: problems running compiled programs
In-Reply-To: <19990502032458.41493.qmail@hotmail.com> from Matt Elliott at "May 1, 99 08:24:57 pm"
To: cygwin AT sourceware DOT cygnus DOT com
Date: Sun, 2 May 1999 00:32:17 -0400 (EDT)
From: Glenn Spell <glenn AT gs DOT fay DOT nc DOT us>
Reply-To: glenn AT gs DOT fay DOT nc DOT us (Glenn Spell)
Organization: the aerie
X-Mailer: ELM [version 2.4ME+ PL38 (25)]
MIME-Version: 1.0

Matt Elliott wrote:
> 
> BASH.EXE-2.02$ ls -l
> -rwxr-xr-x   1 500      everyone   462916 May  1 22:57 a.exe
> BASH.EXE-2.02$ a
> BASH.EXE: a: command not found
> 
> Path:	/CYGNUS/CYGWIN~1/H-I586~1/BIN
> 	/WINDOWS
> 	/WINDOWS
> 	/WINDOWS/COMMAND

The current directory is not in your path. Use "./a" instead of "a".
In a few years, after you become accustomed to typing "./", then
add "." at the end of your path.

> TEMP = `C:\windows\TEMP'
> TERM = `cygwin'
> TMP = `c:\windows\TEMP'

Do not use "smart quotes" (they may have been added by your mail
client). Some programs will look for a "TMPDIR" variable. You may
want to add that in addition to "TMP" and "TEMP".

-glenn

-- 
 )      Glenn Spell <glenn AT gs DOT fay DOT nc DOT us>      )   _       _____
 )   Fayetteville, North Carolina, C. S. A.   )_ (__\____o /_/_ |
 )  _  _  _  _  _  _  _  _  _  _  _  _  _  _  )   >-----._/_/__]>
 )- blue skies - happy trails - sweet dreams -)             `0  |

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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