Date: Tue, 15 Feb 2005 14:36:22 -0500
Reply-To: Lingqun Liu <lingqun@gmail.com>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Lingqun Liu <lingqun@GMAIL.COM>
Subject: Re: want to delete csv files created after a specific date -- Can
I do it in SAS?
In-Reply-To: <20050215192608.40562.qmail@web50809.mail.yahoo.com>
Content-Type: text/plain; charset=US-ASCII
One solution is using X statement like:
X "del 'file-path/filename.csv"; * under windows OS;
On Tue, 15 Feb 2005 11:26:08 -0800, David Fickbohm
<davefickbohm@yahoo.com> wrote:
> People,
> I create three CSV files daily using SAS. I want to delete all of the files created more than four months ago. I want to keep Jan05,dec04,nov04,oct04. Delete all csv files created prior to that. I need to do this on a regular basis.
>
> Can I do this in SAS ? Would you do this in SAS? If not what would someone recommend?
>
> Thanks.
> Dave
>
> Dave Fickbohm
> Use Technology to the Fullest
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
|