Code Red > AutoLISP (Vanilla / Visual)

7zip via lisp

(1/3) > >>

domenicomaria:
since I need to save a copy of two folders every day
by compressing them into a 7zip file,
I would like to automate this procedure with lisp

Is there anyone who can give me some suggestions?

Thank you

dexus:
It's not 7zip, but if a regular zip file would work as well you can start here: https://www.theswamp.org/index.php?topic=58636.msg616688;topicseen#msg616688

VovKa:

--- Code: ---(startapp "full path to 7z.exe" "a \"D:\\dest file 1.7z\" \"D:\\src folder\"")
--- End code ---

JohnK:
I had one a while back I made to demonstrate.
https://www.theswamp.org/index.php?topic=14793.msg178860#msg178860

BIGAL:
This is opposite an unzip using powershell.


--- Code: ---(startapp (strcat "powershell -command Expand-Archive -Path '" filename "' -DestinationPath 'C:/CAD-TOOLS' -FORCE"))
--- End code ---

Pretty sure should be a ZIP syntax. https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.archive/compress-archive?view=powershell-7.4

Navigation

[0] Message Index

[#] Next page

Go to full version