开发者

Can Cygwin access Windows Hidden Shares?

开发者 https://www.devze.com 2023-01-20 17:04 出处:网络
Is there any way to access a Windows \"hidden share\" from Cygwin? I\'ve tried: cd //server/c$ cd //server/c\'$\'

Is there any way to access a Windows "hidden share" from Cygwin?

I've tried:

cd //server/c$
cd //server/c'$'
cd //server/'c$'
cd //server/c\$

Cygwin doesn't like the '$'.

EDIT: I have also tried mounting a drive to the network share and accessing that from C开发者_运维问答ygwin (as djondal suggests below), but no joy. For a drive mapped to Z:, /cygdrive/z is not recognized, even after mounting it in cygwin (mount Z: /cygdrive/z)

Thanks.


Try by mapping a network drive Z: to //server/ and then the letter you choose will be accessible in /cygdrive/z/


ls //HOSTID/c$/"documents and settings"

The above works fine for me in cygwin under win7

0

精彩评论

暂无评论...
验证码 换一张
取 消