LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (April 2001, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 27 Apr 2001 14:10:21 -0400
Reply-To:     robert.a.burnham@DARTMOUTH.EDU
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         robert.a.burnham@DARTMOUTH.EDU
Organization: Dartmouth College, Hanover, NH, USA
Subject:      Re: Deleting a file in SAS

>>>>> "Stephane" == Stephane Racine <stephane.racine@pharma.novartis.com> writes:

Stephane> QUESTION : Is there a way to not have any command Stephane> window that open to delete a text file?

I've never seen a way to run a basic system command under NT from SAS without a window. It is possible to write these programs under Win32 (e.g. think of how you have to specifically make Excel visible if you are connecting to it via OLE), but you need more control than you can get from a simple X command under SAS.

Can you consolidate your multiple commands to delete single files into a single command to delete multiple files? That would still open one window -- but not dozens. Both NT and Unix have 'for' commands that can act on groups of file -- or just use a wildcard in your delete statment, e.g. del temp?.txt

Hope this helps,

Bob

-- Bob Burnham bburnham@dartmouth.edu http://www.dartmouth.edu/~bburnham


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