Based on a few tests this morning under 1.5.9(0.112/4/2), the cygrunsrv -env option supports env vars with a string length below 257 characters. Larger env vars seem to get into the registry, but not into the service's env.
If I'm right it would be nice if "cygrunsrv --help" showed this. I read the help as saying up to 255 separate env vars may be defined. -- thanks, Tom Rodman perl -e 'print unpack("u", "1\:6UP\,\$\!T\<F\]D\;6\%N\+F\-O\;0H\`");' -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/