MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×
Everything posted by undef16
Hi, Please help me to provide solution for the following scenario: Self extracted 7z archive, after extraction, will copy result file to directory where 7z archive (exe) file was executed. I have created following configuration file for 7zS.sfx. ;!@Install@!UTF-8!GUIMode="2"RunProgram="run.cmd %%S" ;!@InstallEnd@! Problem that cmd environment don't see variable %%S and not replace with source directory variable. When I replace %%S by %%T, "run.cmd" work properly, but I need instead temp directory the source directory. Thank you very much and best regards.