accessing the mapped network drives using mingw shell

How to access the mapped network drives from the mingw shell? When I try

cd y: or cd /y or y:

All I get is No such file or directory or sh.exe y:: command not found.

I am able to access the same mapped Y: drive using cmd. I would like to know how to do the same using mingw shell.


Solution 1:

Try cd /y/ to solve your problem

Solution 2:

I find I have to use the mount command first. If I have a USB stick on drive E: then in the mingw shell:

mount e: /e

Only then can I run cd /e/. You can run mount without parameters to list all the currently known file systems. umount /e will remove the link between E: and /e/.

Solution 3:

Try this format in MINGW64 shell (Bash for windows)

$ cd //IP_Address_of_remote_drive/Path/To/The/Folder/