

So I am gonn give you a basic Pseudo outline, just let me know if you need to see actual code.ġ.) User provide the administrator's password, and then the administrator is authenticated against the Active Directory using the provided password.Ģ.) If authentication is successful another text field is provided to enter the name of the profile to clean i.e. Then it gives me a random file name from the UserProfile\Local Settings\Temporary Internet Files\Content.IE5\SomeRandomFolder.

I get a System.IO.DirectoryNotFoundException: Could not find a part of the path. everything works correctly except for the Delete("directory", True) statement.

Alright, here it is I am trying to write a win32 app in VB 2005 to clean up user's profiles.
