names Specifies a list of one or more files or directories.
Wildcards may be used to delete multiple files. If a
directory is specified, all files within the directory
will be deleted.
/P Prompts for confirmation before deleting each file.
/F Force deleting of read-only files.
/S Delete specified files from all subdirectories.
/Q Quiet mode, do not ask if ok to delete on global wildcard
/A Selects files to delete based on attributes
attributes R Read-only files S System files
H Hidden files A Files ready for archiving
- Prefix meaning not
so.... del c:your_dir*.* /s /q /f and.... rock and roll man ! ;-)
"Man-wai Chang" <toylet.toylet@gmail.com> wrote in message
news:44643165$1_3@rain.i-cable.com...
> *ProteanThread* wrote:
>> looking for a util to delete all files in a given directory and
>> sub-directories but keep the directory structure intact?
>>
>
> I haven't tested it. SO be *CAREFUL*. Try:
>
> cd path
> del *.* /s
>
>
>
> --
> .~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
> / v Simplicity is Beauty! May the Force and Farce be with you!
> /( _ ) (Ubuntu 5.10) Linux 2.6.16.16
> ^ ^ 14:55:01 up 23:22 0 users load average: 1.02 1.11 1.15
> news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk