LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (February 2005, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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?
Comments: To: David Fickbohm <davefickbohm@yahoo.com>
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 >


Back to: Top of message | Previous page | Main SAS-L page