@ Turn off echo
Color a9
" C:\ Program Files \ WinRAR \ WinRAR . exe " a " d:\ test \。 rar "-ibck-ii conc:\ 1 . ico-sfx-ag+YYYYMMDDHHMM-m0-HP 123456 f:\ imp
discontinue
Description of other commands or switches:
Add files to the compressed package
-ibck runs in the background.
-iiconc: 1.ico specifies c: 1.ico Oh, the self-extracting icon.
-sfx creates a self-extracting file.
-ag+YYYYMMDDHHMM backup generates a compressed file name containing the current date and time.
-m0 stores the added file into a compressed file, but does not compress it.
-HP 123456- Encrypt file data and file header with password 123456.
F:\imp source file (folder) to be compressed.