--- Gary Johnson <[EMAIL PROTECTED]> ha scritto: > You're welcome. > > I've written a few batch files that call Bash > scripts, but to be > honest, I seldom get these right the first > time--there is usually > some aspect of the transition from Windows/DOS to > Cygwin that I > overlook. Since you're not giving yours any > arguments, though, it > should be pretty straightforward. I think the > following should > work. > > @echo off > C:\cygwin\bin\bash --login /usr/X11R6/bin/sd.sh > > Note the --login argument to bash. That insures > that your script > sees a normal login environment, including a proper > PATH. > > Regards, > Gary >
Dear Gary, I still dont think I can get this to work. I tried this from the command line (and my file is in /usr/local/bin/sd.sh) C:\cygwin\bin\bash --login /usr/local/bin/sd.sh This still brings up the Fatal Error Window. Regards, O.O. ___________________________________ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/