|This article contains basic information to help with the use of the WinZip Command Line Support Add-on. It is intended for users who are not experienced with command line use. For specific help with the add-on, please see the information in WinZip Command Line Add-on Help installed to the WinZip program group by the add-on.
When using a command, it is necessary to know its correct syntax. The syntax of a command would be the rules regarding how it is entered and will include options covering various situations when possible. Setting up some commands can be like using grammar to properly write a sentence, but in this case having rules governing where and how to place switches, filenames, and/or other options.
In some cases you can type a command with nothing else, press your Enter key on the keyboard, and see a result displayed. For example, if you want to display the current time in the Command Prompt window you can type time, press Enter, and it will display. A second line will also display allowing you to Enter the new time. If you press Enter again without entering a new time, the Command Prompt will return to its earlier location.
Other commands only work, or may only give an expected response, if you enter additional information. For example, the command CD, meaning "change directory", will only display the directory you currently are in if nothing else is typed after it. Adding the correct information after CD will allow you to move into another, specific directory.
Entering information wih the wrong syntax will cause an error message to display. If you are running a command with incorrect syntax from some type of script, such as a batch file, the script will often end without indicating why, unless you have redirected the output to a file (see the end of the next article).
See also: Command Line Basics articles