Created
February 12, 2022 15:30
-
-
Save yutsuku/ed204d54016c7177cc595eb173647d11 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Delete everything in current location using path literal. | |
# Windows explorer and regular commands are unable to delete those folders/files due to invalid characters. | |
Get-ChildItem -Recurse | ForEach-Object { Remove-Item -LiteralPath "\\?\$($_.FullName)" -Force } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment