I looked for the answers in the list and did not find any matching.
What is the commandline to zip a file using Winrar, and then move it to a particular folder?
|
|
I looked for the answers in the list and did not find any matching. What is the commandline to zip a file using Winrar, and then move it to a particular folder? |
|||
|
migrated from stackoverflow.com |
|
|
|
WinRAR cannot be used from the command line, use RAR instead. rar.exe (unlike WinRAR) cannot be used to create a zip archive. for all possible RAR commands and switches refer to help (rar /?) but here's how to use zip and unzip on the windows command line. |
||||||
|
|
|
Though I found no documentation for it, I did manage to use winrar from the command line. I used the following syntax: winrar a archiveName file1 file2 .... to create an archive, and winrar x archiveName to extract the files from it in the current directory. |
||
|