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

Re: Script to delete files older than 30 days old by Ray

Ray
Thu Apr 07 16:09:59 CDT 2005

http://groups.google.co.uk/groups?hl=en&lr=&q=Script+to+delete+files+older+than+30+days+old&meta=group%3Dmicrosoft.public.scripting.vbscript

Ray at work

"Anthony Litterio" <tlitterio@rusinlaw.com> wrote in message
news:Ohk0xb6OFHA.2728@TK2MSFTNGP15.phx.gbl...
> 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
>
>



Re: Script to delete files older than 30 days old by wocka

wocka
Thu Apr 07 19:33:19 CDT 2005

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@rusinlaw.com> wrote in message
news:Ohk0xb6OFHA.2728@TK2MSFTNGP15.phx.gbl...
> 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
>



Re: Script to delete files older than 30 days old by Anthony

Anthony
Mon Apr 11 11:27:13 CDT 2005

I would actually prefer not using vb script, so this is perfect. the only
problem is, I do not have a copy of robocopy.exe; do you know where I can
get this?

"wocka" <ambition80@hotmail.com> wrote in message
news:4255d13f_4@x-privat.org...
> 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@rusinlaw.com> wrote in message
> news:Ohk0xb6OFHA.2728@TK2MSFTNGP15.phx.gbl...
>> 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
>>
>
>



Re: Script to delete files older than 30 days old by Michael

Michael
Mon Apr 11 18:34:58 CDT 2005

Anthony Litterio wrote:
> I would actually prefer not using vb script, so this is perfect. the
> only problem is, I do not have a copy of robocopy.exe; do you know
> where I can get this?



It's in the resource kit...

Both the Windows Server 2003 Administration Tools Pack and the Resource Kit
Tools can be downloaded and installed on XP (see System requirements for
each)...

Download details: Windows Server 2003 Administration Tools Pack
http://www.microsoft.com/downloads/details.aspx?FamilyID=c16ae515-c8f4-47ef-a1e4-a8dcbacff8e3&displaylang=en

Download details: Windows Server 2003 Resource Kit Tools
http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en

--
Michael Harris
Microsoft MVP Scripting
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Please ask follow-up questions via the original newsgroup thread.




Re: Script to delete files older than 30 days old by Asaf

Asaf
Sun Apr 17 19:16:41 CDT 2005

You can download the DelDate utility from http://www.petri.co.il/deldate.htm
Thanks,
Asaf Ganot

"Michael Harris (MVP)" <mikhar at mvps dot org> wrote in message
news:OP5RG8uPFHA.3356@TK2MSFTNGP12.phx.gbl...
> Anthony Litterio wrote:
>> I would actually prefer not using vb script, so this is perfect. the
>> only problem is, I do not have a copy of robocopy.exe; do you know
>> where I can get this?
>
>
>
> It's in the resource kit...
>
> Both the Windows Server 2003 Administration Tools Pack and the Resource
> Kit
> Tools can be downloaded and installed on XP (see System requirements for
> each)...
>
> Download details: Windows Server 2003 Administration Tools Pack
> http://www.microsoft.com/downloads/details.aspx?FamilyID=c16ae515-c8f4-47ef-a1e4-a8dcbacff8e3&displaylang=en
>
> Download details: Windows Server 2003 Resource Kit Tools
> http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en
>
> --
> Michael Harris
> Microsoft MVP Scripting
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Please ask follow-up questions via the original newsgroup thread.
>
>
>