Date: Wed, 21 Sep 2005 16:08:24 -0400
Reply-To: Chang Chung <chang_y_chung@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Chang Chung <chang_y_chung@HOTMAIL.COM>
Subject: Re: creating a directory on a windows PC using SAS with special
characters
On Wed, 21 Sep 2005 19:17:15 -0000, sa polo <solouga4@REDIFFMAIL.COM> wrote:
>Thanks venky,
It works, but now i need to resolve a macro variable while
creating the directory this is something i do not know how to do.
%LET ReportMonth=January;
X 'MKDIR "800-&-100-(redhat).&ReportMonth"';
Appreciate any inputs as usual.
Hi, Sa polo,
I tried below and worked on my winXP with sas 9.1.3. I guess you have to do
what you have to do. But I find that simplicity keeps me sane. :-)
Cheers,
Chang
%let rm=Jan;
options xsync xwait;
x cd "c:\";
x "mkdir ""800-&-100-(redhat).&rm.""";
/* created a directory named 800-&-100-(redhat).Jan */
|