I ran this code:
%MACRO RemoveFiles;
x del "&path\html\*.html";
%MEND;
%RemoveFiles;
%window start
#4 @22 'test' COLOR = BLUE attr = underline
#9 @10 'test1' COLOR = RED @90 FRQ 2 attr=underline color=RED REQUIRED = YES 14 @10 'Press ENTER to continue' COLOR = RED;
%display start;
and received this error:
MPRINT(REMOVEFILES): x del "C:\Documents and Settings\test\html\*.html";
WARNING: Shell escape is not valid in this SAS session.
14 %RemoveFiles;
ERROR 22-322: Syntax error, expecting one of the following: a name, #, +, @.
ERROR: %WINDOW statement not processed due to errors.
15 %window start
I also ran proc options option=xcmd; run;
and got this:
NOXCMD The X Command is not valid in this SAS session
Any ideas?
Thank you.