Hi
7Zip is installed on my SAS BI server, which is great because we have to zip with encryption.
I've read somewhere on this platform how to zip a single file and this works :
data _null_;
zipexe='"<path to 7zip executable>\7z.exe" a -tzip -pPASSWORD';
zipfile="<zip target path>\<zipfile>.zip";
file="<zip source path>\<file to be zipped>.<extension>";
cmd = zipexe ||' "'|| zipfile ||'" "'|| file ||'"' ;
call system(cmd);
run;
I've been trying to zip a whole folder by googling for command lines for 7zip but was not successful.
Anybody knows how to do this ?
Thanks!
RGDS
B