Re: Script to delete files older than 30 days old
- From: "wocka" <ambition80@xxxxxxxxxxx>
- Date: Fri, 8 Apr 2005 10:33:19 +1000
Gidday,
I Use the NT Res Kit tool Robocopy.exe. I know it's not VB Script but works
fine for me.
<start script>
@echo off
REM *******************************************
REM
REM Written by Wocks 24/09/2002
REM
REM This script will delete files older than 15
REM days from the system date.
REM
REM *******************************************
robocopy E:\Share\Robocopy\logfile /e /z /minage:15 /move
e:\Share\Robocopy\deleted_logs
robocopy E:\Share"\Intelligent Disaster Recovery\IDR_Files" /e /z /minage:15
/move e:\Share\Robocopy\deleted_logs
rd /s /q E:\Share\Robocopy\deleted_logs
exit
<end script>
Wocka
"Anthony Litterio" <tlitterio@xxxxxxxxxxxx> wrote in message
news:Ohk0xb6OFHA.2728@xxxxxxxxxxxxxxxxxxxxxxx
> Here is what I have and need, as I am not a scripter. I have digital
> dictation system that attorneys dictate into a digital voice recorder and
> download to a network share point where their secretaries can transcribe
> it. When the attorneys download the voice files from their systems to the
> server share, it creates a backup of every file on their machine under
> their profile.
>
> We have roaming profiles setup for the users and all of these files are
> being copied to the roaming profile on the server. I would like a login
> or shutdown script that will automatically delete the files from their
> local machines based on a time frame, say anything over 30 days old.
>
> Any help would be appreciated, as I said before I am not a scripter, and
> this is taking a lot of space on the server and making our backups
> extremely long.
>
> Thanks
> Tony
>
.
- Follow-Ups:
- Re: Script to delete files older than 30 days old
- From: Anthony Litterio
- Re: Script to delete files older than 30 days old
- References:
- Script to delete files older than 30 days old
- From: Anthony Litterio
- Script to delete files older than 30 days old
- Prev by Date: a VB snippet to change DNS back to obtain automatically
- Next by Date: Re: ÿÿÿÿÿ error
- Previous by thread: Re: Script to delete files older than 30 days old
- Next by thread: Re: Script to delete files older than 30 days old
- Index(es):
Relevant Pages
|