a.TopNav { color: white; vertical-align: middle; } .TopNav { color: white; vertical-align: middle; } .TopHeader { vertical-align: middle; } p.p_BoldLine { width: 100% !important; /* margin-left: 40px; */ vertical-align: middle; padding-left: 20px; padding-top: 5px; padding-bottom: 5px; margin-right: 20px; margin-bottom: 5px; } table { width: 100%; }
Command Line |
Top
Previous
Next
|
|
ALZip supports command line compression for ALZ and ZIP files and extraction for all supported archive file types. You can easily automate repetitive tasks with batch scripts or shell calls to ALZip with your own custom software tools. (Note: The command line functionality in ALZip is not currently completely silent.) <Command line structure in ALZip> There are 5 basic parts to the command line:
Invoke ALZip: This tells Windows to run ALZip with the parameters that follow. ALZip is automatically added to your system path when installed. If you don't know what that means, it means ALZip will work properly without any additional effort from you :-) Add / Extract argument: This tells ALZip whether to add files to a new archive or extract from an existing archive. Not specifying the file(s) when adding will add an entire directory and its contents (like "*.*"). You must always specify the file name when extracting. You can extract different archive formats like ZIP, ALZ, and RAR all at the same time with a comma separated list of archives, e.g. alzip -x file1.zip,file2.rar,file3.alz. Command switches: These allow you to modify the default add/extract behaviour and perform other tasks. See below for an explanation of each switch with examples. Source files: Specify the file(s) you wish to add or extract. Separate additional files after the first with a comma and NO SPACE. You must specify the path to the files if they are not in the same directory. Target: This is optional. Specify the path and file name. ALZip will automatically date stamp the file name if you do not specify a file name.
With "-a", file(s) to add to a new ZIP or ALZ archive file. With "-x", file(s) to extract With "-a", an already existing complete path and file name with .zip or .alz compressed archive file extension With "-x", a complete path that may or may not already exist Disk drive source file(s) are on. With "-a", disk drive for target path and file name. With "-x". disk drive for target path. * Network drives are supported for -a and -x, use the normal "\\" to prefix network drives or the drive letter if mapped Fully qualified path to source file(s). Fully qualified target path. Name of source file(s). Name of target file. Parameters enclosed with brackets are optional. Choose 1 of the elements enclosed by braces. Elements are seperated by pipes / vertical bars ( | ). Don't confuse the forward slash character ( / ) with the backslash character ( \ ). Use the \ character for paths. It is next to your backspace key on a standard keyboard. ALZip does not automatically overwrite archive files if ones with the same name already exist. It will create a new easily identifiable name for the new file and keep the existing file. <Creating archives from a command line (Compression)> [script - no target specified] alzip -a <drive>:\<path>[\<filename>][,<drive>:\<path>[\<filename>]...] Ex) alzip -a "C:\My Stuff\Cool Stuff\Ice.mp3",C:\My Stuff\Cooler Stuff\Liquid Nitrogen.mp3" - An ALZ archive is created. - The destination archive name is automatically created in the current time-base format (year/month/day/hour/minute) (yyyymmddhhnn). Ex) 200712312359.alz [script - target is specified] alzip -a <drive>:\<path>[\<filename>][,<drive>:\<path>[\<filename>]...] [<drive>:\<path>[\<filename{.zip|.alz}>]] Ex) alzip -a "C:\My Stuff\Cool Stuff\Ice.mp3",C:\My Stuff\Cooler Stuff\Liquid Nitrogen.mp3" "C:\My Stuff\Cool Stuff\Cool Music.zip" - Creates an ALZ or ZIP file archive as specified in the command line. - The new ZIP file or ALZ archive is created in the user defined path. [ Command line archive creation examples ] (Without user defined destination path)
(With user defined destination path)
<Extract compressed archives from a command line (Extraction)> All supported compression and archive formats are supported from the command line. If the destination path does not have enough disk space, extraction will fail. [script - no target specified] alzip -x <drive>:\<path>\<filename>[,<drive>:\<path>\<filename>...] Ex) alzip -x"C:\My Stuff\Cool Stuff\Ice.zip",C:\My Stuff\Cooler Stuff\Liquid Nitrogen.rar" - ALZip creates a new directory if one with the same name as the source archive does not exist, and extracts the archive contents to the folder. [script - target is specified] alzip -x <drive>:\<path>\<filename>[,<drive>:\<path>\<filename>...] [<drive>:\<path>\] - Archives are extracted to the user defined directory. If the directory does not exist, ALZip will automatically create the directory for you. Ex) alzip -x"C:\My Stuff\Cool Stuff\Ice.zip",C:\My Stuff\Cooler Stuff\Liquid Nitrogen.rar" "New Cool Folder" [ Command line compressed archive extraction examples ] (Without user defined destination path)
(With user defined destination path)
Command switches let you add or change functionality in a command issued from the command prompt. You can use several command switches together by typing them successively, e.g. "-b -off". Some switches work with both the -a (add) and -x (extract) commands, while others work with either -a or -x, but not both.
Points to Remember: When using the command line, spaces are important. Do not use any spaces in lists or paths unless you use quotes. For example: BAD: alzip -a my file.txt my file.zip GOOD: alzip -a "my file.txt" "my file.zip" <Command line and path/file name length limitations> Windows imposes path and file name length limitations. These must be followed. (less than 255 characters or less than 2,096 characters) Both command.com on Windows 9x/Me and cmd.exe on Windows NT/2000/XP have maximum lengths for command lines. You must observe these limtations. (less than 126 characters, less than 2,096 characters, or less than 8,192 characters)
Related Topics - [ Contents ] - [ Index ] -
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||