I could not cd
to a directory, whose path name contains escaped spaces, that is represented by a variable.
The following command does not work.
~$ VAR="/mnt/e/documents/my\ files"
~$ cd $VAR
-bash: cd: too many arguments
However, when I use the path name as it is instead of assigning it to a variable, it works.
~$ cd /mnt/e/documents/my\ files
cd /mnt/e/documents/my files$
How to use cd with a variable as its argument, where the variable is a string with spaces that are escaped.