25.08.2019

Rar Sfx Command Line Icons

68
  1. Mac Rar Command Line

Size of default SFX logo is 93x302 pixels. It is recommended to use bitmaps of same size or smaller. You must not compress SFX module by any third party executable compressors if you are going to use this option. Corresponding command line switch is -iimg. Load SFX icon from the file. Replace the standard SFX icon by contained in the proposed.

SFX options: Text and icon

This dialog is a part of the 'Advanced SFX options' dialog and includes the following settings:

Set the specified text as a title of the SFX window.

Windows rar command line

Corresponding SFX script command - Title

Add the specified plain text or HTML strings to the text output window of SFX module.

In case of plain text contents SFX module merges and reformats the specified text strings to fit them optimally into the dialog. So if you wish to start a new paragraph, you need to put the empty string before it.

Using HTML you may control colors, fonts and formatting of displayed text. Description of HTML syntax is available on The World Wide Web Consortium site. Also it is possible to use any web page editor program to prepare HTML text.

Corresponding SFX script command - Text

Load contents of selected file as SFX window text.

Specify a bitmap image (*.bmp) file to display as logo in the created or updated SFX archive.

Size of default SFX logo is 93x302 pixels. It is recommended to use bitmaps of same size or smaller.

You must not compress SFX module by any third party executable compressors if you are going to use this option.

Corresponding command line switch is -iimg.

Replace the standard SFX icon by contained in the proposed .ico file. You must not compress SFX module by any third party executable compressors if you are going to use this option.

Corresponding command line switch is -iicon.

Active2 years, 3 months ago

I am trying to create a winrar self-extracting archive with a custom icon on the command line.

It is all going well so far, except the custom icon is not working. Whenever I build the archive the icon used is the default winrar icon.

If I create the SFX using the SFX dialog, then it works fine. This says to me that there is nothing wrong with the icon.

The command I am using is:

Raiden616

Mac Rar Command Line

Raiden616
4902 gold badges8 silver badges28 bronze badges

2 Answers

The text file Rar.txt in program files folder of WinRAR contains all commands and switches supported by console version Rar.exe. Running Rar.exe without any parameter lists also all of them with a brief description.

The commands and switches supported by WinRAR.exe are explained in help of WinRAR, open on help tab Contents the item Command line mode.

There are a few differences in list of supported switches between console and GUI version. One of those few differences is no support by console version for SFX icon. I suppose, the reason is the need of a Microsoft library function not (easily) available for a console application.

You can use WinRAR.exe instead of Rar.exe even when running it from within a batch file. Use additionally the switches-ibck and -inul to run WinRAR.exe in background without displaying an error message on failure. Switch -y might be also useful.

MofiMofi
31.3k8 gold badges42 silver badges91 bronze badges

For a workaround

Email tarantula keygens. You can also make it work using only one command but calling winrar instead of rar. And no, i don't know why the console version does not include the icon.

MC NDMC ND
61k5 gold badges54 silver badges91 bronze badges

Not the answer you're looking for? Browse other questions tagged windows-7cmdwinraricosfx or ask your own question.