![]() ![]() In this batch file must be modified for usage: "%ProgramFiles%\WinRAR\Rar.exe" a -c -cfg-ep1 -idq -m5 -mdg -r -s -sfx -y "-z%TEMP%\SfxOptions.txt" "Path\Name of your SFX.exe" "Path\Folder to add" "Path\File to add"Įcho Error on creation of "Path\Name of your SFX.exe" and starting compression with button OK.Ī command prompt window will be always displayed if module WinCon.sfx is used for the SFX archive as in this case Windows detects automatically on start of the SFX archive that this is a console application and opens a command prompt window in which the console SFX is executed.Ĭreating such an SFX archive can be done also with a batch file: offĮcho The comment below contains SFX script commands>"%TEMP%\SfxOptions.txt"Įcho Path="%%USERPROFILE%%\Desktop">"%TEMP%\SfxOptions.txt".entering on tab General the name for the SFX archive,.closing Advanced SFX options window with button OK,.selecting on SFX tab Module the SFX module Default.sfx (WinRAR GUI SFX module),.selecting on SFX tab Modes the option Hide all,.entering on SFX tab General for Path to extract the string "%USERPROFILE%\Desktop" which results in automatic selection of option Absolute path which is right,.clicking on tab Advanced on button SFX options,.checking on tab General the option Create SFX archive,.This can be done with WinRAR after selecting the files and folders and clicking on icon Add in the toolbar by ![]() "%USERPROFILE%\Desktop" without showing a window. It is possible to create an SFX RAR archive extracting all files and folders directly to ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |