I have a simple file association for the powershell scripts to start them from FAR:
powershell.exe -file !.!
Earlier when I typed "asf.ps1 -group 1" it correctly started asf.ps1 script and passed the parameters to it. However in the recent builds this behavior is broken. It just starts notepad with the script source which I believe is a default action for Windows file association.
build 5254 works for me, 5757 and 5782 do not
Powershell file association
- DrKnS
- Posts: 6114
- Joined: Thu 04 Aug, 2005 06:44
- Location: Kyiv
- Has thanked: 12 times
- Been thanked: 426 times
Powershell file association
Using associations in command line is an experimental feature and it has been disabled by default.
You can turn it on by setting System.Executor.UseAssociations to true in far:config.
You can turn it on by setting System.Executor.UseAssociations to true in far:config.