Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import zipfiles
- var z: TZipArchive
- if open(z, "d3vil.zip"):
- echo("Zip file opened")
- extractAll(z, "/home/d3vil/Nimprogs/")
- else:
- echo("Cannot open archive file")
- close(z)
- echo("Extracted")
Advertisement
Add Comment
Please, Sign In to add comment