CDPATH - does not work if directory name with a space

4 views
Skip to first unread message

Andy

unread,
Aug 8, 2018, 2:27:20 PM8/8/18
to cygwin-users
Hi,

I'm trying to include a directory name with space in CDPATH. I have tried several ways but it does NOT work. Is it possible?

This is what I did:

export CDPATH=".:~:/cygdrive/h/My Drive/Unix"

Once I cd to a directory from /cygdrive/h/My Drive/Unix  , I got message "bad directory"

If directory name without space, it works fine.

Thanks,

Andy
Reply all
Reply to author
Forward
0 new messages