开发者

Copy directory from SharePoint site to local drive

As part of a larger batch script, I need to copy a directory from a TFS Sh开发者_JS百科arePoint site down on to the local drive. So something like:

copy "http://mySharePointSite/sites/MyProjectCollection/MyTeamProject/Shared Documents/Some Folder" C:\Temp

Any ideas how I would do this?

Thanks!


If you have local network access to the machine running SharePoint, you can use a UNC path to access the files directly.

\\servername\sitename\library\

The sitename is only used if you're actually accessing a sub site, otherwise it's just \\servername\library\

The path may be slightly different for team projects, but you should be able to find the correct path by browsing to it in Explorer.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜