Change directory to a SharePoint link

1.1k views Asked by At

Via command line, can someone suggest ways to change directory (cd) to a SharePoint link (pointed via a xyz.lnk link)?

1

There are 1 answers

1
Martin Bäckström On BEST ANSWER

You can map a network drive to a WebDAV folder and use that drive to copy files (or whatever you would like to do).

net use z: https://<url>
cd z:
dir

I would use PowerShell to parse out the url from the .lnk file (if that is neccessary).