1, the simplest compression command: WinRAR a asdf.txt.rar asdf.txt a means that the compression action, after the first parameter is the compressed file name, the suffix is of course rar, the last parameter is the file name to be compressed
2, the simplest decompression command: WinRAR e asdf.txt.rar e means to perform the decompression, the extracted file is the only argument behind, but this e-decompression is to release the extracted files to the current directory, The Asdf.txt.rar file is tied up, so it is more practical to extract the following paths with the path.
3, with the path of the decompression command: WinRAR x Asdf.rar x means that the execution with an absolute path decompression action, which will create a folder under the current folder ASDF, the compressed package files, folders do not change the structure released into the file asdf inside, As we see in the graphical interface of WinRAR.
Default winrar installation, C:/Program Files/winrar/winrar.exe
"C:/Program Files/winrar/winrar.exe" e D:\webapps\ROOT\images\1.rar D:\webapps\ROOT\images\