Computing.Net > Forums > Windows NT > Delete files and subdirs via batch

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Delete files and subdirs via batch

Reply to Message Icon

Name: Jeremy
Date: September 11, 2002 at 07:44:25 Pacific
OS: NT 4.0
CPU/Ram: dual 900Mhz/1GB
Comment:

I am trying to write a batch program that does some cleanup work for us and not having a lot of luck.

I have ther following directory:
- d:/inetpub/wwwroot/mail/attach/dload

I want to find all files and subdirectories that are older than 24 hours and delete them.

Currently I am using a mix of find.exe and rm.exe and it just will not work but I am open to anything.

Thanks in advance.



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: Delete files and subdirs via batch

NT deleted files and folders www.computing.net/answers/windows-nt/nt-deleted-files-and-folders/18239.html

unable to delete files via FTP www.computing.net/answers/windows-nt/unable-to-delete-files-via-ftp/10969.html

unable to delete files and folders www.computing.net/answers/windows-nt/unable-to-delete-files-and-folders/12688.html