This is the mail archive of the cygwin 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]
Other format: [Raw text]

cd to the path including space.


Hi all,

I want to jump to the following path with a cygwin/bash command:

C:\Documents and Settings\All Users\Application
Data\MiKTeX\2.7\fontconfig\cache

In my case, I've the following issues:

1- I only know that use the following command to obtain the the  above
path's stem:

findtexmf psfonts_t1.map

this command will give the following result:

C:\Documents and Settings\All Users\Application
Data\MiKTeX\2.7\dvips\config\psfonts_t1.map

So I must compose the destination directory based on this path.

2- In the cygwin/bash, the path's delimitor is / instead of \.

3- In the cygwin/bash, if the space are included in the path, it will
be troublesome.

4- Furthermore, the cygwin use the following path as the initial part
of its path:

/cygdrive/c/...

So, how can I can get my path and then cd to that path within
cygwin/bash?   I've tried a bit but failed.

Regards,

-- 
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.


--
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/


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