This is the mail archive of the cygwin 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]
Other format: [Raw text]

RE: some kind of path problem when running bash script from windows shortcut


LMH wrote:
> When I run it from the shortcut, I get "file not found" for rsync, date,
> unix2dos, and rm. I have temporarily changed the script to use the full
> path for these, /cygdrive/c/cygwin/bin/date.exe instead of date, but I
> have used this setup for a while and I'm not sure what has changed. Am
> I missing an environment variable or something?

Yes.  Make sure your Windows PATH environment variable includes
C:\cygwin\bin, or whatever the equivalent is for your install.

Also, per the FAQ, please remember to include the output from running
`cygcheck -s -v -r`.  That'll let us actually check your environment
variables, for example.

Adam

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      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]