In the documents and settings folder there is a long list of old user folders. I need to delete everything but the "admin", "all users" and "default user" folders...
Here is the bat file I have, but I can't get it to exclude anything:
for /D %%j in ("C:\documents and settings\*") do RD /S /Q "%%j"