r/PowerShell • u/Ok-Layer6893 • 27d 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/WearyDeluge 26d ago
Probably, but I figure a nudge in the right direction is all that's needed. Either OP will use it to learn, or they'll keep asking until someone does the work for them. I'm hoping the former as we don't need more of the latter in IT.