I'm using Emacs on Windows.
I also have a VirtualBox VM that I connect to using plink.
But then, when I use the eshell, and I do cd <some folder> it tells me No such directory found via CDPATH environment variable even though I started the eshell from a dired buffer and directly typed cd folder.
I think the key is to make this variable command-line-default-directory follow the directory where the buffer is opened at?
Just to reiterate my question, suppose I'm in C://plink:<username>@<ip>:/home/asti/folder, I want to be able to type cd foldername and not get the error No such directory found via CDPATH environment variable.