This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cygdrive, pwd, and windows apps


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]