Re: How to delete subfolders and files in a folder by Haoqiang
Haoqiang
Wed Jul 09 10:03:02 CDT 2008
Thanks for your reply,Pegasus.
I do not need to delete the subfolders.
In this scenario,a folder named "abc" contains several subfolders named by
department.
I need to scan the "abc" folder to find files created or modified 2 days ago
and delete them.
I have downloaded XXCopy.exe and I will have a test tomorrow.
Thanks again!
Haoqiang
"Pegasus (MVP)" wrote:
>
> "Haoqiang" <Haoqiang@discussions.microsoft.com> wrote in message
> news:1CBBF2F0-ABE3-446B-947D-A2F3938FBF72@microsoft.com...
> > Hi,
> >
> > I need your help.
> >
> > There is a folder, it contains some subfolders and files.
> >
> > I need to delete the files created 2days ago in this folder , I also need
> > to
> > delete the files in the subfolders, but I do not need to delete the
> > subfolder.
> >
> > I have looked for the scripts in internet for a long time, but no result
> > was
> > found.
> >
>
> BTW, there appears to be a contradiction in your post. In the Subject line
> you write "How to delete subfolders" but in the text you write "but I do not
> need to delete the subfolder".
>
>
>