Current location: Hot Scripts Forums » Programming Languages » Visual Basic » netadmin project - delete files


netadmin project - delete files

Reply
  #1 (permalink)  
Old 03-03-04, 04:03 PM
georgeminton georgeminton is offline
New Member
 
Join Date: Mar 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question netadmin project - delete files

I am researching a method to delete files based on date the file was last accessed in a specific folder.

This is what I am trying to do. I have a Outlook Web Access server that
has some temp files in it. Some of the files are in use. I want to create a script that will check the file for the last time it was accessed. If the file is over 24 hours old I want to delete the files that meet this criteria. I found several sample scripts that can do part of the task but I don't know how to tie them together to make cohesive script that will check the files age, if the files is 24 hours old delete it, skip to each successive file and perform the same task. I suppose I am looking at some type of some type of looping procedure that will do this.

Does anyone have any ideas on how to do this ? Any help would be appreciated. I have added sample scripts that I have collected that do parts of thess task but not all.


Thanks,

George Minton
Attached Files
File Type: zip scripts.zip (5.0 KB, 531 views)
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automated script to delete certain files shib_s Script Requests 3 08-03-06 05:28 PM
How to do fopen all files at a time and show one line from all files. Mouse PHP 0 03-01-04 08:33 PM
i know how to delete a file! but how to delete a directory? forcer JavaScript 3 01-28-04 07:00 AM
Project Help azonic Perl 2 01-15-04 09:26 AM
How to <!--include .htm files in .php files cstallins PHP 4 10-27-03 05:35 AM


All times are GMT -5. The time now is 01:19 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.