Adding to Office file type

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
acheton
Posts: 293
Joined: 27 Jul 2010 23:58
Location: XY 64bit, Win 11 at 100%

Adding to Office file type

Post by acheton »

Hi there,

I want to add a new extension to the "office files" find files type filter. According to the help file I can adjust some of these in the Previewed Formats section - however in this section office documents are lumped together with Web. Is there any easy way of adding a file type to this filter or even adding a new custom filter please?

thanks,


Ach

admin
Site Admin
Posts: 66360
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Adding to Office file type

Post by admin »

Try this tweak:

Code: Select all

OfficePreviewCustomExtensions=...
What file type is it?

acheton
Posts: 293
Joined: 27 Jul 2010 23:58
Location: XY 64bit, Win 11 at 100%

Re: Adding to Office file type

Post by acheton »

admin wrote:Try this tweak:

Code: Select all

OfficePreviewCustomExtensions=...
What file type is it?
Thanks for the quick reply - I want to add *.pdf to the list (I know its not a MS Office extension). I haver added this tweak to the config file under the general section in both of the following ways and neither works:

Code: Select all

OfficePreviewCustomExtensions=*.pdf

Code: Select all

OfficePreviewCustomExtensions=pdf
am I doing it right?

admin
Site Admin
Posts: 66360
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Adding to Office file type

Post by admin »

This works fine here:

Code: Select all

OfficePreviewCustomExtensions=pdf
You know how to tweak?

acheton
Posts: 293
Joined: 27 Jul 2010 23:58
Location: XY 64bit, Win 11 at 100%

Re: Adding to Office file type

Post by acheton »

admin wrote:You know how to tweak?
The steps I am taking are:

1. Opening the config file
2. Adding the line requested and saving the file
3. selecting restart without saving to load the revised config file

Is that all I need to do?

admin
Site Admin
Posts: 66360
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Adding to Office file type

Post by admin »

acheton wrote:
admin wrote:You know how to tweak?
The steps I am taking are:

1. Opening the config file
2. Adding the line requested and saving the file
3. selecting restart without saving to load the revised config file

Is that all I need to do?
Wrong. See here: http://www.xyplorer.com/xyfc/viewtopic.php?f=10&t=3543

acheton
Posts: 293
Joined: 27 Jul 2010 23:58
Location: XY 64bit, Win 11 at 100%

Re: Adding to Office file type

Post by acheton »

Great thanks - that works fine!

Post Reply