Skip to content

Commit

Permalink
feat: clean up one drive folder to remove a lot of entries
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyueta committed Aug 9, 2023
1 parent 1c20c31 commit 221dcc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/playbook/Executables/ONED.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ for /f "usebackq tokens=2 delims=\" %%a in (`reg query "HKEY_USERS" ^| findstr /
)

rmdir /q /s "C:\ProgramData\Microsoft OneDrive"
rmdir /q /s "%localappdata%\Microsoft\OneDrive"

for /f "usebackq delims=" %%a in (`dir /b /a:d "C:\Users"`) do (
rmdir /q /s "C:\Users\%%a\AppData\Local\Microsoft\OneDrive"
Expand Down

0 comments on commit 221dcc6

Please sign in to comment.