开发者

Setting documents folder as a network public folder from cmd in Windows

I am trying to create a batch file for setting the user documents folder in Windows so that it is accessible from the network 开发者_如何学编程like the public folder is by default, pretty much making it shared with everybody.

I can't figure out the syntax for it, though. So far tried messing with cacls but without any luck.

I am testing it on Windows Vista and Windows 7.


net share "My files=%USERPROFILE%\Documents"
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜