Page 1 of 1
enhance the feature of portable file association
Posted: 27 May 2010 18:10
by paul0
current feature uses the syntax:
pattern(s)>application
Can we add more for open with:
1. allow to set the working directory of application
2. allow to add parameters for running the application
Possible syntax:
pattern(s)>application /d <working directory> -<parameter_1> ....
Re: enhance the feature of portable file association
Posted: 28 May 2010 09:31
by admin
Quoting the help:
(3) Rather than just executables, you can specific any kind and number of command line parameters in your Portable File Associations, which then will be used when triggering an Open operation from the POM.
The syntax is identical to all the other places where command line parameters are supported: Catalog (Open Selected Item(s) With), UDC Open With, scripting "openwith". It's basically one simple rule: The application must be quoted when command line parameters are used. For example:
jpg;png;gif;tif>"ACDSee32" /v
jpg;png;gif;tif>"C:\Programme\ACDSee32\ACDSee32.exe" /v
By the way, quoting is also okay (but not necessary) when you have no parameters.
Working dir is not possible ATM.
Re: enhance the feature of portable file association
Posted: 28 May 2010 13:56
by paul0
thanks.
