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 (September 2005, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: Sa Polo <solouga4@REDIFFMAIL.COM>

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 */


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