Hi, I have requirement to create Archive of Older Files and the Current folder has SAS/log/lst/rtf/pdf/png files created with Datetime Stamp. Now,I need to move all the files from the current folder to the Archive and just retain only the recent TimeStamped Set of files in Current. I am planning to route all SAS Created Files to Current folder and in the same code writing the below Piece of Macro to move the previously created files. %macro test; %sysexec %str(mkdir ./Archive;mv ./Current/* ./Archive); %mend test; %test; problem Area: But after "/*" ,SAS Code is getting commented.. So,I am not able to select all the files from the Current Folder. Can you please help me out to fix this approach? Thanks in advance! Regards, Abi
... View more