I see here: <https://cygwin.com/cygwin-ug-net/setup-env.html>
That Cygwin does convert some environment variables, from Windows format to Unix format. For example HOME and TMP. But for me at least, are some important omissions. I use APPDATA and PROGRAMFILES a good amount, and those arent converted. To make it worse, HOMEDRIVE and SYSTEMDRIVE arent converted either, meaning you cant manually construct the path starting with a variable. This causes some problems. Take this example: <?php $s_old = realpath('a.txt'); $s_new = getenv('HOMEDRIVE') . DIRECTORY_SEPARATOR . 'a.txt'; # PHP Warning: symlink(): No such file or directory symlink($s_old, $s_new); -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple