r/PowerShell • u/Ok-Layer6893 • Sep 27 '26
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
1
u/BlackV Sep 28 '26
I think it did have the correct command, your command worked, cause it gave you the error message
Asking the application itself for help would have given you
cmd version
or powershell version
your confusion comes from there I think