How to use SS as default 'open' action for archives?

This is a place for users to discuss Altap Salamander. Please feel free to ask, answer questions, and express your opinion. Please do not post problems, bug reports or feature requests here.
Pandakopanda
Posts: 5
Joined: 12 Feb 2006, 22:28

How to use SS as default 'open' action for archives?

Post by Pandakopanda »

I was trying to use SS as the default program for opening archives, so that I wouldn't need a Winzip type program anymore. But I ran into the problem that Windows expects the commandline to be like SALAMAND.EXE Archive.zip while SS only accepts SALAMAND.EXE -L Archive.zip (or -R).

I've tried using a cmd or vbs file to start SS, but that didn't go smoothly either. Anyone has a solution for this?
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Post by Jan Rysavy »

How do you associate Servant Salamander with archives?
Using "Open Width..." dialog box?
Pandakopanda
Posts: 5
Joined: 12 Feb 2006, 22:28

Post by Pandakopanda »

Jan Rysavy wrote:How do you associate Servant Salamander with archives?
Using "Open Width..." dialog box?
Yes, the "Open With" dialog and then select SALAMAND.EXE as the program to open the archive with.
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Post by Jan Rysavy »

I am sorry, but I don't know how to tell to Windows to pass parameter (-l or -r) to Servant Salamander.

We have this problem on ALTAP Roadmap - Better Windows shell integration: file associations, context menus.
grymmjack
Posts: 53
Joined: 07 Jan 2006, 14:53
Contact:

Post by grymmjack »

Pandakopanda wrote:
Jan Rysavy wrote:How do you associate Servant Salamander with archives?
Using "Open Width..." dialog box?
Yes, the "Open With" dialog and then select SALAMAND.EXE as the program to open the archive with.
To fix this, after you associate your archive filetypes, open windows explorer, choose tools | folder options | filetypes, then modify the association -- you can pass command line -L as you need there.

HTH
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Post by Jan Rysavy »

grymmjack wrote:To fix this, after you associate your archive filetypes, open windows explorer, choose tools | folder options | filetypes, then modify the association -- you can pass command line -L as you need there.
Nice solution, thank you grymmjack!
Guest

Post by Guest »

It does not work for me. Is a screenshoot avaiable?
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Post by Jan Rysavy »

Image

If there is the Restore button, click it to reveal the Advanced button.

Image

Click the Advanced button.

Image

Fill "Servant Salamander archive" label, use the Change Icon to browse Servant Salamander icon.

Then click the Edit button.

Image

To the action field insert (including quotes):
"C:\Program Files\Servant Salamander 2.5 beta 11\SALAMAND.exe" -L "%1"
User avatar
beta
Translator
Translator
Posts: 25
Joined: 09 Dec 2005, 21:34
Location: Germany

Post by beta »

Thanks, Jan!
Pandakopanda
Posts: 5
Joined: 12 Feb 2006, 22:28

Thanks, and a different solution

Post by Pandakopanda »

Thanks for the solution.

I found a different solution myself, you need to do some registry editing though (not much). To do this:
  • First right-click an archive (.zip, .rar, etc) and choose "Open With..." or "Open With" and then "Choose Program...". You get the following dialog:

    Image
  • Choose "Browse..." and select "c:\program files\Servant Salamander beta 11\SALAMAND.exe". Check "Always use the selected program" if you like.
  • When you press "OK", you get an error from SS. This is normal.

    Image
  • Now start Regedit (start -> Run... -> regedit). The following key should have been created:

    HKEY_CLASSES_ROOT\Applications\SALAMAND.exe\shell\open\command

    Change the value of this key from:

    "C:\Program Files\Servant Salamander 2.5 beta 11\SALAMAND.exe" "%1"

    to:

    "C:\Program Files\Servant Salamander 2.5 beta 11\SALAMAND.exe" -L "%1"
  • After you've done this, the selected archive should open correctly in SS.
You only have to do this procedure once. For every other archive file-type, just choose "Open With..." and select "Servant Salamander" from the programs list:

Image
Post Reply