> COMMON_DESKTOP=`regtool get > '\HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell > Folders\Common Desktop'` > ALLHOME=`cygpath -u "$COMMON_DESKTOP/../.."`
Don't know if you care, but the latest version of cygpath has -D and -A options that will output the "All Users' Desktop" directory. Not sure about the "../.." though. __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/