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 (January 2004, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 13 Jan 2004 17:30:39 -0500
Reply-To:     Don Stanley <don_stanley@PARADISE.NET.NZ>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Don Stanley <don_stanley@PARADISE.NET.NZ>
Subject:      Re: System() function and the SAS System X Command Window
Comments: To: Doug Cacialli <Doug_Cacialli@URMC.ROCHESTER.EDU>

Hi Doug

You might want to try using a pipe rather than the system command. I find this auto closes any windows that might get opened (not that I see any -- perhaps because I don't tend to do length system commands).

eg to copy a file to another file

filename backup pipe 'copy "c:\cc_extr_history.xls" "c:\cc_extr_history_old.xls" ' ;

data _null_ ; infile backup ; stop ; run ;

filename backup clear ;

Don


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