Did you try th "./" syntax? i.e.:
$ ./test1
Sorry, I'm not more familiar with Uwin. If the above syntax works, you can
set your unix $PATH variable to include "." (dot - no quotes) to specify
the current working directory, i.e.:
export PATH=$PATH:.
Scott Shafer
San Antonio, TX
210-581-6217
"And no amount of training or preparedness can eliminate the almost
certainty that in the middle of your Angry Crane stance, as you transition
to your Combative Monkey to administer the Coup de Gr�ce via your Ninja
Death Touch, you step on a beer bottle and fall backwards into the juke box
and get your head stove in by a drunk with a pool cue." --Jay Trigg
> -----Original Message-----
> From: Leslie Lu [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, May 24, 2001 2:20 PM
> To: Multiple recipients of list ORACLE-L
> Subject: Uwin question ???
>
> Hi all,
>
> A while ago, I asked about running unix script on NT.
> I run into a problem in UWin that I got file not found
> message even if the file is there and is executable.
> I run a ksh file with and without sh, I kept getting
> "not found". Then I wrote a test1 script, if run
> without sh, I still got "not found", but if run with
> sh like sh test1, it works. All the scripts work find
> in Unix. Attached is upgrade_wm.ksh I'm trying to run
> and following shows the details from UWin:
>
> $ ls (ls shows upgrade_wm.ksh is in the current
> directory)
> ...
> upgrade_wfm_RefData.sql
> upgrade_wfm_RefData_401.ksh
> upgrade_wm.README
> upgrade_wm.ksh
>
> $ upgrade_wm.ksh (run it in the same directory, got
> not found message)
> -ksh: upgrade_wm.ksh: not found [No such file or
> directory]
> $ sh upgrade_wm.ksh (the same as above)
> upgrade_wm.ksh[9]: exec: upgrade_wm.ksh: not found
>
> In the same directory, I wrote a tiny script which
> echos "here". That's all it does. Run it after chomd
> +x.
>
> $ test1 (still got cannot found message)
> -ksh: test1: not found [No such file or directory]
> $ sh test1 (Runs! but use sh still doesn't work for
> the upgrade_wm.ksh)
> here
>
> Thank you for any information!
>
>
> Leslie
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/ << File: upgrade_wm.ksh >>
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).