[THIN] Re: Script for deleting files

  • From: jason.weems@xxxxxxxxxxxx
  • To: thin@xxxxxxxxxxxxx
  • Date: Wed, 23 Oct 2002 12:31:25 -0400

We just have a simple script scheduled to run at night; it seems to work well 
enough for our environment.

cd\wtsrv\profiles
del /s *.log 

-----Original Message-----
From:   Dave.Boatman [SMTP:Dave.Boatman@xxxxxxxxxxxxxx]
Sent:   Wednesday, October 23, 2002 10:54 AM
To:     thin
Subject:        [THIN] Script for deleting files

Rather than reinvent the wheel does anyone have a script that does the
following.

 

I've got multiple subfolders that contain .log files

I want to run a script to go through each subfolder and if the file creation
date is less than today .. delete the file and just leave todays file in the
folder. 

 

Dave Boatman 

 


**********************************************
This weeks Sponsor NetX Inc Thin Client
NetX Develops XP and NT Embedded 
Thin Client Solutions, Easy to Configure, 
Extremely Secure, and Remotely Managed.
Check out our recently updated website at
http://www.netxinc.com
***********************************************
Visit Jim Kenzig of thethin.net at the
Emergent Online Booth #221 at Citrix Iforum 2002!
Register now at:
http://www.citrixiforum.com/registerNow.html
*********************************************** 
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link.

http://thethin.net/citrixlist.cfm


**********************************************
This weeks Sponsor NetX Inc Thin Client
NetX Develops XP and NT Embedded 
Thin Client Solutions, Easy to Configure, 
Extremely Secure, and Remotely Managed.
Check out our recently updated website at
http://www.netxinc.com
***********************************************
Visit Jim Kenzig of thethin.net at the
Emergent Online Booth #221 at Citrix Iforum 2002!
Register now at:
http://www.citrixiforum.com/registerNow.html
*********************************************** 
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link.

http://thethin.net/citrixlist.cfm

Other related posts: