XY's file associations

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

XY's file associations

Post by jacky »

Code: Select all

        png>?:\Programs\Viewer\Viewer.exe [use drive of file to open] 
      The 2nd example is particularly interesting if you use XYplorer on 
      portable drives: the little "?"-trick makes you independent of 
      the local drive mappings! Double-clicking (or <enter>ing) a file 
      in XYplorer will cause it to open in an application stored on your 
      thumbdrive, independent (a) of the file associations maintained by 
      the local copy of Windows, and (b) of the local drive mappings. 
      What more portability do you want? 
This sounds interresting, allthough I'm not sire if I will presonally use it, but I got a remark anyways ;)

I'd have thought that, in such case, the drive used would not be the one where the file is, but where XY is installed/running from. Cause if you go to a computer and plug your USB stick or w/e to work on the computer; you might wanna use this with your own (XY's) file association so you use your own favorite text editor, etc and not whatever is installed on the PC.
But ATM this would only work for files on your own drive, not if you try to work on the PC's drives... :? Am I the only one who find this behavior somewhat odd/unexpected?? :roll:

ps: should be a popup/something when the association "fails", instead of just doing nothing. Might look like XY just doesnt respond to the dbl-click/enter/etc
Proud XYplorer Fanatic

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

Re: XY's file associations

Post by admin »

jacky wrote:I'd have thought that, in such case, the drive used would not be the one where the file is, but where XY is installed/running from. Cause if you go to a computer and plug your USB stick or w/e to work on the computer; you might wanna use this with your own (XY's) file association so you use your own favorite text editor, etc and not whatever is installed on the PC.
But ATM this would only work for files on your own drive, not if you try to work on the PC's drives... :? Am I the only one who find this behavior somewhat odd/unexpected?? :roll:
Whoops, OF COURSE! :oops:
jacky wrote:ps: should be a popup/something when the association "fails", instead of just doing nothing. Might look like XY just doesnt respond to the dbl-click/enter/etc
By "fails" you mean the associated app was not found. Yes, good idea.

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

Re: XY's file associations

Post by admin »

Ok, just uploaded a fix for that whoopsy little bug, and also a new patched version of that bit of history.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

damn, here I come again :P
Just an idea while I was thinking about this: maybe your popup could add "Do you want to try openning the file with the Windows (registry-based) association, if any?"
Proud XYplorer Fanatic

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

Post by admin »

jacky wrote:damn, here I come again :P
Just an idea while I was thinking about this: maybe your popup could add "Do you want to try openning the file with the Windows (registry-based) association, if any?"
Yep, I had that one too.

Post Reply