Kaseya Community

Automatically unzip a file

  • I need a way to upload a .zip file to a machine and unzip it then run a file that was in the .zip file. Any ideas?

    I feel like I have seen this in a bunch of other scripts..

    Much Thanks!

    Legacy Forum Name: Automatically unzip a file,
    Legacy Posted By Username: CHIPS
  • Get a copy of 7zip's command line version (http://downloads.sourceforge.net/sevenzip/7za457.zip). Write that to the machine and execute it with the path to the file you want to unzip as an argument.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: sequoya