File Association

Features wanted...
Post Reply
Tamil
Posts: 129
Joined: 10 Sep 2006 14:30
Location: .in
Contact:

File Association

Post by Tamil »

Currently we have to specify application for each file extension separately. What about the following?
+htm;html>?:\Program Files\Opera\Opera.exe
+7z;rar;zip>?:\Program Files\WinRAR\WinRAR.exe
Instead of following one.
+htm>?:\Program Files\Opera\Opera.exe
+html>?:\Program Files\Opera\Opera.exe
+7z>?:\Program Files\WinRAR\WinRAR.exe
+rar>?:\Program Files\WinRAR\WinRAR.exe
+zip>?:\Program Files\WinRAR\WinRAR.exe

avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

Post by avsfan »

Ooooh! Neat idea! (and much more concise, too!) Especially if one changes zip programs, etc...

itsme28m
Posts: 124
Joined: 03 Sep 2006 16:49
Location: Belgium

yep

Post by itsme28m »

Great idea!

lukescammell
Posts: 744
Joined: 28 Jul 2006 13:15
Location: Kent, UK
Contact:

Post by lukescammell »

I like this :)

Just out of interest, can we use relative paths with that? I havne't even tried, but if we could that would rock as I could then link things to my other portable apps :)
Last edited by lukescammell on 05 Nov 2006 18:34, edited 1 time in total.
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

Ditto! 8) Redundancy reduction is almost always a good thing!
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

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

Post by jacky »

Yep, sounds pretty cool! :)
lukescammell wrote:Just out of interest, can we use relative paths with that? I havne't even tried, but if we could that would rock as I could then link things to my other portable apps :)
Can't use relative paths no, but relative to what would they be?

Anyways, as shown what you can do is use the question mark, which will be replaced internally with the letter of the drive XYplorer is running from.

This means that when using XY from a portable drive (USB stick, CD, etc) you can have XYplorer open files (when you double-click or press Enter) using your own applications from the same drive independently of the local file associations or the local drive mapping!
Proud XYplorer Fanatic

lukescammell
Posts: 744
Joined: 28 Jul 2006 13:15
Location: Kent, UK
Contact:

Post by lukescammell »

jacky wrote:
lukescammell wrote:Just out of interest, can we use relative paths with that? I havne't even tried, but if we could that would rock as I could then link things to my other portable apps :)
Can't use relative paths no, but relative to what would they be?
Relative to the XY executable.
jacky wrote:Anyways, as shown what you can do is use the question mark, which will be replaced internally with the letter of the drive XYplorer is running from.
OK, this works apart from the fact that I use my portable apps in a slightly strange way ;) I don't have enough space on my flash drive (I'm always trying to cram something new in) so I compress my portable apps at the end of the day before taking them with me home. While at work and at home I extract them to a temporary directory. This gives me the added bonus of more speed and the ability to enable some features in certain programs (eg. Thunderbird, spam filtering) that would otherwise knacker my USB drive pretty quickly. Because of this, I can't actually use the ? as the temp dirs are in different places on both machines. I guess I could recreate my work location on my home computer, but this isn't exactly elegant, and I usually just extract the whole thing into a dir on my desktop.

For example, in the following directory structure:

Code: Select all

+PortableApps
|-[7-ZipPortable]
|-[AbiWordPortable]
|-[BRU]
|-[ClamWinPortable]
|-[FileZillaPortable]
|-[FirefoxPortable]
|-[jEdit]
|-[KeePass Password Safe]
|-[MirandaPortable]
|-[Putty]
|-[SkypePortable]
|-[SunbirdPortable]
|-[ThunderbirdPortable]
|-[TS2AdminClient]
|-[VLCPortable]
|-[XYplorer]
|-PStart.exe
|-PStart.xml
|-upx.exe
|-upx.txt
|-VPS, BoltConnect.rdp
I would use the following:

Code: Select all

+htm>..\FirefoxPortable\FirefoxPortable.exe
+html>..\FirefoxPortable\FirefoxPortable.exe
+7z>..\7-ZipPortable\7-ZipPortable.exe
+rar>..\7-ZipPortable\7-ZipPortable.exe
+zip>..\7-ZipPortable\7-ZipPortable.exe
or better still

Code: Select all

+htm;html>..\FirefoxPortable\FirefoxPortable.exe
+7z;rar;zip>..\7-ZipPortable\7-ZipPortable.exe
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)

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

Post by admin »

Okidoki! 2 cool ideas, just implemented! :D 8)

lukescammell
Posts: 744
Joined: 28 Jul 2006 13:15
Location: Kent, UK
Contact:

Post by lukescammell »

XY ftw! \o/
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)

Tamil
Posts: 129
Joined: 10 Sep 2006 14:30
Location: .in
Contact:

Post by Tamil »

admin wrote:2 cool ideas, just implemented!
Thanks. :D

Post Reply