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
|