cygdrive, pwd, and windows apps

Jonathan Larmour jlarmour@redhat.co.uk
Fri May 19 08:34:00 GMT 2000


In article < 392553C7.66AE6190@sourcegear.com > you write:
>I have a problem in that if i try:
>
>notepad /cygdrive/c/sometextfile.txt
>
>notepad (being a windows app) has no idea how to find /cygdrive.  So how
>do I easily get the dos-style path?

notepad `cygpath -w /cygdrive/c/sometextfile.txt` should do it.

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list