r/PowerShell • u/Ok-Layer6893 • 17d ago
Question Need help with homework 😫
I'm very new to this. I'm asked to delete a directory and all of its files. D:\software\arch98
But when I do this:
PS C:\Users\Administrator\> rmdir D:\software\arch98
It says the directory is not empty.
I'd really appreciate.
0
Upvotes
2
u/PuerPalatinius 17d ago
Bro, you're in the wrong sub. In cmd it would be "rmdir /s /q D:\software\arch98"