Re: Delete oldest file in folder
Oldest based on which date? Create date, last modify date, last accessed
date?
DOS Batch or VBScript or something else?
What have you yourself tried so far? Any code for others to build upon?
Do the file names have a format/convention? I ask so that "other" files
aren't accidentally deleted/removed.
Are you sure you want to delete, or would you prefer to move/rename to
another folder?
Does the script need to log/record its actions somewhere?
"Herbert Ehlert" <headmin@gmx.de> wrote in message
news:OeImKfO$HHA.1208@TK2MSFTNGP03.phx.gbl...
> hi,
>
> i need a script (.bat), which deletes the oldest file in a folder.
> i want to start this script every day over the schedule manager.
>
> can anybody me with this? thanks in advance.
>
>
> h.e.
>
>
|