12

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.

yasouser
  • 313

3 Answers3

11

Try cd /y/ to solve your problem

Raystafarian
  • 21,963
  • 12
  • 64
  • 91
Vinicius
  • 126
4

Try this format in MINGW64 shell (Bash for windows)

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

3

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

perldev
  • 31