Simply check for the presence of ';' in PATH, if it exists that is the seperator else ':' is the seperator.

Of course Win32 environment typically will not return the value of PATH as the lookup for environment variable is case sensitive and the variable name is Path instead.

Earnie.


-- 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/



Reply via email to