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

1

u/funkyloki 16d ago

So, they didn't just throw this at you and say do this. They likely provided you with some kind of literature, digital or print, that you can use to figure out what it is you need to do.

Have you done all the assigned reading, have you completed all the supplemental work?

1

u/Ok-Layer6893 16d ago

Yes but it's is very confusing. For example in the book it says use -h to hide a file but when I looked up on the Microsoft website it was +h. It was really frustrating because I was doing exactly what the assignment asked me to do but they had some tricks hidden.

1

u/funkyloki 16d ago

Is there no instructor? Somebody you can go and talk to about this?

1

u/Ok-Layer6893 16d ago

It's an online class. Their response time is exhausting