Recently moved from Netware to Server 2003 so I'm a bit new to the Server 2003 environment.
Anyway, I have a "Scratch" folder that everyone in the company has access to for a temporary means to share data. In the Netware environment I had it to where the contents of the folder would get deleted out every Sunday night and I need to do the same on Server 2003.
I thought I would just write a batch script to perform the deletion and setup a Scheduled Task to run the batch script at a specified time. However, I've noticed that I can't find a proper switch to delete sub-directories with the DEL command and DELTREE is no longer an option.
My batch scripting knowledge is fairly basic and usually I'm able to just find what I need on the net when I need it, however, I cannot find a way around this one.
Suggestions????
=================
There are 10 kinds of people in this world, those that understand binary and those that do not.
Anyway, I have a "Scratch" folder that everyone in the company has access to for a temporary means to share data. In the Netware environment I had it to where the contents of the folder would get deleted out every Sunday night and I need to do the same on Server 2003.
I thought I would just write a batch script to perform the deletion and setup a Scheduled Task to run the batch script at a specified time. However, I've noticed that I can't find a proper switch to delete sub-directories with the DEL command and DELTREE is no longer an option.
My batch scripting knowledge is fairly basic and usually I'm able to just find what I need on the net when I need it, however, I cannot find a way around this one.
Suggestions????
=================
There are 10 kinds of people in this world, those that understand binary and those that do not.