Skip to content

Instantly share code, notes, and snippets.

@adinata-id
Last active December 22, 2024 05:24
Show Gist options
  • Save adinata-id/ec3311c4a75212972a907fd16833ac57 to your computer and use it in GitHub Desktop.
Save adinata-id/ec3311c4a75212972a907fd16833ac57 to your computer and use it in GitHub Desktop.
Cara Menghapus folder yg tidak bisa di hapus di windows
cara Pertama:
gunakan command: rd /s "\\?\
contohnya: C:\Windows\System32>rd /s "\\?\D:\ScreenCast\2024\Cara Melihat History WIFI
\\?\D:\ScreenCast\2024\Cara Melihat History WIFI , Are you sure (Y/N)? Y
C:\Windows\System32>
Cara Kedua:
mkdir empty_folder
robocopy /MIR ".\empty_folder" "Folder123"
Remove-Item ".\empty_folder" -Force
Remove-Item "Folder123" -Force
pada script diatas kita menghapus folder dengan nama Folder123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment