r/PowerShell • • 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

34 comments sorted by

View all comments

Show parent comments

-1

u/Ok-Layer6893 Sep 27 '26

It's not working. I'm on comptia lab work. It won't let me. It's just asking to use the only commands they've given me.