Last active
December 22, 2024 05:24
-
-
Save adinata-id/ec3311c4a75212972a907fd16833ac57 to your computer and use it in GitHub Desktop.
Cara Menghapus folder yg tidak bisa di hapus di windows
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
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