
Hello @Haley Cline,
Thank you for posting your valuable question on Microsoft Q&A forum.
According to your description, here are a few steps you can try to resolve your issue:
Sync Only the Top-Level Folder
- Go to SharePoint or OneDrive in your browser. Navigate to the document library or folder you want to sync.
- Open the top-level folder only Instead of syncing from a nested folder (e.g., Department > Team > Documents), open just the Documents folder.
- Click “Sync” Use the Sync button at the top of the page. This will initiate OneDrive sync for that folder.
- Check the folder name in File Explorer The folder should now appear in your File Explorer with the name Documents, not the full path.
- Avoid syncing from deep paths If you sync from a nested folder view, OneDrive may name the folder using the full path to avoid conflicts.
Use Symbolic Links to Rename Synced Folders
If you’re stuck with a folder named like Department - Team - Documents, you can create a symbolic link to make it appear as Documents.
Requirements
- Windows OS
- Admin privileges (recommended)
Steps to Create a Symbolic Link
Press Windows + S, type cmd, right-click Command Prompt, and choose Run as administrator.
- Locate the synced folder. Example path: C:\Users\YourName\OneDrive - Company\Department - Team - Documents
- Create a symbolic link. Run this command: mklink /d "C:\Users\YourName\Documents" "C:\Users\YourName\OneDrive -Company\Department - Team - Documents"
This creates a folder called Documents that links to the actual synced folder.
- You can now save files to C:\Users\YourName\Documents, and they’ll sync via OneDrive.
Reset OneDrive Sync
- Unlink OneDrive: Right-click the OneDrive icon in the system tray > Settings > Account > Unlink this PC.
- Clear OneDrive cache: Run: %localappdata%\Microsoft\OneDrive\onedrive.exe /reset
- Re-sign in and resync only the top-level folder
For related information, please check:
- Path of this file or folder is too long' error in OneDrive - Microsoft Support
- Fix OneDrive sync problems - Microsoft Support
- Can't synchronize OneDrive files and folders from a local file location other than the default OneDrive path - Microsoft Support
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.