Cygwin convert windows path to linux path: Difference between revisions

Jump to navigation Jump to search
m
Line 19: Line 19:
remote directory (network drive) e.g. {{kbd | key=<nowiki>\\remote\test path\</nowiki>}}
remote directory (network drive) e.g. {{kbd | key=<nowiki>\\remote\test path\</nowiki>}}
<pre>
<pre>
enclose the whole path with single quote symbol
//method1
//method1
$ cygpath -u '\\remote\test path\'
$ cygpath -u '\\remote\test path\'
Line 24: Line 25:


//method2
//method2
enclose the whole path with single quote symbol
$ path = '\\remote\path\'
$ path = '\\remote\path\'
$ echo "${path//\\//}"
$ echo "${path//\\//}"

Navigation menu