> Has anyone seen a command line tool for converting path (e.g. > /cygdrive/h/privat/news_alert.conf) to file URI > (file:///cygdrive/h/privat/news_alert.conf) > > Yes, tweaking with string concatenation or calling some java code would be a > way, though I would prefer some proper command within the cygwin - bash > domain.
$ cat > fileuri <<EOF echo -n "file:///"; cygpath -m $1 EOF $ ./fileuri ~ file:///d:/data/URBANR/My Documents -- 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/