It wouldn't surprise me if it doesn't matter whether its rmdir /s /q C:\windows\Test or rmdir C:\windows\Test /s /q but keep the order in mind in case it makes sense to compare them
--- Yep I'm pretty rusty in DOS but at least I'd like to see if I can be helpful
Are you sure the "Test" directory isn't a System File?
When you bring up the command prompt, are you calling it up as Administrator?
--- Maybe that makes a difference
I haven't made any comments about attrib -r but maybe it isn't needed if you are in as Administrator
--- Maybe the attemp to remove the read only attribute is interfering with the next step to be completed
What directory are you attempting to remove the "Test" directory from?
--- Try from one of the upper directories in the "Test" folders path
--- If you are in the C:\Windows directory, I imagine that the correct command would be rmdir Test /s /q
--- If you are in the C:\ directory, I imagine that the correct command would be rmdir windows\Test /s /q
I must admit If you not in one of those two upper directories, your command prompt should work but I would still try the direct upper directory just in case it makes a difference in your situation
I just looked up http://www.computerhope.com/rmdirhlp.htm the path makes a difference in Windows 2000 & XP v other OS's
--- Check it out and see what you think