Git Bash

How can we access a remote Windows folder?

cd //servername/foldername
cd //172.16.242.90/logs

On windows, we typically write the path like \\hostname\folderName1\folderName2\folderName3, but at the command line (especially in Linux environment), we need to escape the backslash as \\\\hostnamel\\folderName1\\folderName2\\folderName3 or we can just change the backslash to a forward slash like //hostname/folderName1/folderName2/folderName3

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License