| Date: | Wed, 10 Dec 2003 13:00:07 -0700 |
| Reply-To: | William Kossack <kossackw@NJC.ORG> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | William Kossack <kossackw@NJC.ORG> |
| Organization: | Posted via Supernews, http://www.supernews.com |
| Subject: | moving files with sas |
| Content-Type: | text/plain; charset=us-ascii |
I'm trying to figure out how to move files using SAS.
I have it working with the x command such as
x copy c:\dir\output.pdf t:\otherdir\reports\* ;
but some of the files have long file names with spaces in them such as
x copy c:\dir\reports\much longer report.pdf t:\otherdir\reports\* ;
The problem is that I may have two files called
much longer report.pdf and much longer new report.pdf
with only a slightly different name that should be moved to different
locations.
The spaces in the file names are stumping me.
How can I accomplish this?
|