Forum Discussion
AKIMF
Dec 07, 2016Iron Contributor
Shorten local OneDrive path to avoid windows path length limitations
When we set up OneDrive for business, we keep the same local path on every pc: c:\OneDrive Since our company name is quite long, every synced SharePoint will be somthing like: c:\OneDrive\veryvery...
freddavis
Apr 09, 2020Copper Contributor
Long PathTool is a software that will let you easily delete, copy or rename long path files.
- Chris_MccormackSep 16, 2021Copper Contributor
freddavis mklink /j c:\onedrive "C:\OneDrive - My long company name with spaces in"
then cd c:\onedrive etc
useful if you use the c:\onedrive path in powershell scripts etc
wrap it in cmd /c 'mklink /j c:\onedrive "C:\OneDrive - My long company name with spaces in"' if you're running from powershell
Chris