If I understand your question you can convert paths to and from dos by using the cygpath command.
On Mon, Oct 31, 2005 at 10:29:56AM -0700, Siegfried Heintze wrote: > Can someone help me translate this to bash? It works with CMD.EXE. java and > javac are programs for sun that are not cygwin based so I believe they want > windows style file specifications and not cygwin/bash/unix style file > specifications. > > Here is the CMD.EXE script: > > SET > CLASSPATH=.;c:\dev\xalan\xalan-j_2_7_0\samples\xsltcservlet.jar;c:\dev\xalan > \xalan-j_2_7_0\samples\xsltcejb.jar;c:\dev\xalan\xalan-j_2_7_0\samples\xsltc > brazil.jar;c:\dev\xalan\xalan-j_2_7_0\samples\xsltcapplet.jar;c:\dev\xalan\x > alan-j_2_7_0\samples\xalansamples.jar;c:\dev\xalan\xalan-j_2_7_0\serializer. > jar;c:\dev\xalan\xalan-j_2_7_0\xalan.jar;c:\dev\xalan\xalan-j_2_7_0\xercesIm > pl.jar;c:\dev\xalan\xalan-j_2_7_0\xml-apis.jar;c:\dev\xalan\xalan-j_2_7_0\xs > ltc.jar > javac -g ApplyXPathDOM.java > java ApplyXPathDOM foo.xml /doc/name[1]/@last > > Woops -- I did not intend it to wrap! > > Thanks, > Siegfried > > > -- > 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/ -- Slowly and surely the unix crept up on the Nintendo user ... Wayne Willcox I will not eat green eggs and ham [EMAIL PROTECTED] I will not eat them Sam I Am!! A wise person makes his own decisions, a weak one obeys public opinion. -- Chinese proverb -- 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/