02-07-2013 03:01 PM
Quoting the directory path in below statement, when its supplied as a macro variable,
%let logdir = c:\test;
%let filot = %str(%'dir %")&logdir%%str(%" /a-d /b /s%');
filename catd pipe &filot ;
filename catd pipe %nrstr(&filot);
'%put' resolves &filot to the exact value in filename statement, but none other statements gets resolved.
Need further help from the community? Please ask a new question.