Comprimir folder

Aquí puedes preguntar o compartir tus dudas y conocimientos acerca del programa
Como puedo comprimir una carpeta C:\Users\64\Documents\comprimir he intentado algo así


ruta = Label.GetText("Label1")
ruta1 = Label.GetText("Label2")
 
ZipEx.CreateSfx(ruta, {ruta1 "\\*.*" }, true, "", 5, "", false);

CAEL1011 escribió:
10 Feb 2018 02:28
Como puedo comprimir una carpeta C:\Users\64\Documents\comprimir he intentado algo así


ruta = Label.GetText("Label1")
ruta1 = Label.GetText("Label2")
 
ZipEx.CreateSfx(ruta, {ruta1 "\\*.*" }, true, "", 5, "", false);

used ( ruta1.. "\\*.*" )
ruta = Label.GetText("Label1")
ruta1 = Label.GetText("Label2")
 
ZipEx.CreateSfx(ruta, {ruta1.. "\\*.*" }, true, "", 5, "", false);

and another example :
ZipEx.CreateSfx(_DesktopFolder.."\\MyZip.exe", {_DesktopFolder.. "\\Keys\\*.*"}, true, "", 5, "", true);
Dialog.Message("","ok");
Muchas gracias, lo voy a aplicar gracias por tu ayuda.