This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Running Unix Shell script from NT



I have Cygwin on Win-NT.
I have some unix shell scripts written in CYGWIN
environment. How do I run the shell script directly
from the NT command line(dos prompt), without
opening cygwin?
e.g., Script name = abcd
       Directory under Cygwin   : /home/admin 
       Directory wrt NT         : c:\cygwin\home\admin

If I open cmd & "cd c:\cygwin\home\admin" & try to
run "abcd" there, it does not recognize the script. 
How can I achieve this?
 
 
 Replace "abcd" with "sh abcd" or "bash abcd".

 -------------------------
  NOPE, DOES NOT WORK !! Tried sh abcd, bash abcd,
../abcd, nothing works !
  ---------------------

 
 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]