Page 1 of 1

Find external packers with a relative path

Posted: 27 Nov 2010, 18:45
by Duck
I put rar.exe in the same folder as salamand.exe. In the packers configuration I simply put "rar.exe" for the command but Salamander couldn't find it. I also tried "$(SalDir)\rar.exe" but that didn't work either because it didn't know what $(SalDir) was. That variable works with external viewers and editors. This is the command I use for an external text editor and works fine... "$(SalDir)\..\Notepad++\Notepad++Portable.exe"

If I copy rar.exe into system32 can be found just by giving "rar.exe" as the command. But I thought relative paths for packers would be a good idea for a future release.


(also a quick 2nd request for a portable Salamander that doesn't write to the registry and stores the configuration in a file)

Thx :)

Re: Find external packers with a relative path

Posted: 27 Nov 2010, 19:28
by Duck
Just found out you can use relative paths by setting the rar.exe location in Configuration >> Archivers >> External Archivers Locations

$(SalDir) works here.

So nevermind :oops:

Re: Find external packers with a relative path

Posted: 29 Nov 2010, 02:07
by SvA
Actually, the request from the first post still holds, maybe not for RAR, but for any other packer not supported in External Archivers Locations.