The environment variables ErrorLevel and ArchiveFile are referenced with two percent signs on each side because of Windows command processor replaces already on parsing entire command block before executing outer FOR all %% by just %. The error log file is encoded depending on character encoding and code page defined by Windows command processor on starting batch file processing. The archive file name is assigned to environment variable ArchiveFile in case of a not 100% successful extraction of an archive file indicated by exit of WinRAR with value 0 and next an error message line is output writing exit code of WinRAR and the file name into the error log file. WinRAR exits with a value greater or equal 1 on an error as documented in help of WinRAR on help page List of WinRAR exit codes. WinRAR automatically extracts all volumes of a multi-volume archive. with assuming yes for all queries like on an error.with overwriting all files already existing,. with logging extracted files from RAR archives to Unicode encoded (UTF-16 Little Endian without BOM) extraction log file,.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |