You're doing this in the sandbox right? The exercises are set up so you run the commands in the sandbox. The sandbox is set up and configured with the appropriate tools for the exercises. These commands won't work on your local machine without configuration.
zip
is not a standard Windows command. 7-zip
doesn't use zip
either. If you want the zip
command available locally then you need to install the Powershell cmdlet for it. You can see the instructions here. Once you install it then you can do the same thing locally but note that the sandbox does other setup as well so don't expect this to work out of the box in all cases.