Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Possible to pass application arguments in handlers.json?

  • 2 uphendule
  • 1 inale nkinga
  • Igcine ukuphendulwa ngu jscher2000

more options

Following the deprecation of the FTP protocol in Firefox I have, as a workaround, set Excel to open all ftp links in Firefox for me. However, ideally, I would like a custom PowerShell script to handle all ftp links for me in Firefox. But to do so you would have to pass arguments to an application (in this case PowerShell) in handlers.json file. I guess that is not possible, or am I wrong here?

Isisombululo esikhethiwe

Solved it by converting my PowerShell script to an exe program with PS2EXE.

Now it can handle all ftp url:s in Firefox.

Funda le mpendulo ngokuhambisana nalesi sihloko 👍 0

All Replies (2)

more options

Isisombululo Esikhethiwe

Solved it by converting my PowerShell script to an exe program with PS2EXE.

Now it can handle all ftp url:s in Firefox.

Helpful?

more options

That sounds easiest and also allows control of the icon.

What I have done with VBScript files is added a command line to the Registry along the lines of the following (for a custom protocol):

wscript.exe "C:\myscript.vbs" "%1"

I assume PowerShell has a similar command line.

Helpful?

Buza umbuzo

Kufanele ulogele ukungena ku-akhawunti yakho ukuze uphendule amaphosti. Uyacelwauqale umbuzo omusha, uma ungekabi nayo i-akhawunti namanje.