Newsgroups: microsoft.public.windowsxp.general
From: "Torgeir Bakken \(MVP\)" <Torgeir.Bakken-s...@hydro.com>
Date: Fri, 04 Feb 2005 21:45:25 +0100
Local: Fri 4 Feb 2005 20:45
Subject: Re: Delete everything except command - for profile deletion?
Jason Ryon wrote: Hi > Is there a way to run a command or script which will delete > everything in a folder, except a few exception folders? > The reason I ask is that I would like users profiles to be deleted You can use Delprof.exe, as long as it is ok that the Administrator If you run the command "Delprof.exe /Q", it will delete all existing It will not touch any other folders in the "C:\Documents and Settings" Delprof.exe is in the free Windows Server 2003 Resource Kit: http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57f... (The kit will install on WinXP or later, the individual files can -- You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||