开发者

How are paths determined on a remote machines?

How are paths determined on a remote machines?

I have been assigned a network loaction. Let's开发者_如何学Go call it \wassup\test1

I assume that wassup is the ame of the computer. The question I have is this. How can I determine what the local path from the point of view of the remote machine would be for "test1". For example, how would I know if it is c:\test1 or d:\test1 ?


You cannot know this from the client. Take a related example: which local path on the server does the below link point to?

How are paths determined on a remote machines?


You can't. The remote machine might be an OS that doesn't even use drive labels like that.


In a general case, you can't. The remote admin should be able to conceal it ... except in the obvious case of the ill-named "administrative shares" in Win (i.e. c$, d$, etc).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜