Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Uwin question ???

Uwin question ???

From: Leslie Lu <leslie_y_lu_at_yahoo.com>
Date: Thu, 24 May 2001 11:57:18 -0700
Message-ID: <F001.0030DDAD.20010524112023@fatcity.com>


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/
 upgrade_wm.ksh

Received on Thu May 24 2001 - 13:57:18 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US