Date: Thu, 2 May 2002 19:58:37 +0200
Reply-To: Andreas Grueninger <grueninger@IBGRUENINGER.DE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Andreas Grueninger <grueninger@IBGRUENINGER.DE>
Subject: Re: X Command: blanks in directory?
Content-Type: text/plain; charset=ISO-8859-1
Use doubled double quotes
x "dir ""&path\&folder"" > ""&pgmpath\list.txt"" ";
"Ling Yun Chen" <lchen@ALGXMAIL.COM> schrieb im Newsbeitrag
> Hi all, I searched the archive but couldn't find anything on the topic.
> The question is the following:
> I need to execute the following command in SAS V6.12 under Windows:
> x "dir &path\&folder > &pgmpath\list.txt";
> However, both &path and &folder have blanks in them. How can I rewrite
> X command so that DOS will understand me?
> Thanks in advance for any help.
> Tel: (617)965-8000 x26
> Fax: (617)965-8014