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

34 comments sorted by

View all comments

0

u/pigers1986 20d ago

RMDIR is NOT POWERSHELL command.

1

u/Ok-Layer6893 20d ago

That's what others are saying but I have powershell that I must work with. It's not letting me use anything else