Using a SharePoint variable in batch....

Copper Contributor

All,

The problem, IT wants to force a SharePoint synced document library to one folder location for all users on the PC. Which requires hacking the normal operations of SharePoint, which I don't want.

To avoid IT's shortsighted "solution", I need to know if there is a SharePoint variable or a way to query the SharePoint folder name (eg C:\users\username\companyname\foldername).

The %variable% then can be called in a batch script when assigning virtual drive letter with SUBST command. Then %variable% will be substituted as X:\foldername.

 

Thanks in advance.

Tim

0 Replies