Is it possible for xplorer2 to be launched when you...

Support for xplorer² free lite version

Moderators: fgagnon, nikos, Site Mods

User avatar
Zero3K
New Member
Posts: 5
Joined: 2004 Jun 15, 03:40

Is it possible for xplorer2 to be launched when you...

Post by Zero3K »

...right click on My Computer and choose Explore (instead of Windows Explorer being launched)? If so, I would like for that to be possible.
User avatar
nikos
Site Admin
Site Admin
Posts: 16296
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

that'd not work for "my computer" but for all regular folders you could add a new verb in the registry. See the FAQ
Iain
Member
Member
Posts: 15
Joined: 2004 Jun 15, 11:36

Post by Iain »

nikos wrote:See the FAQ
The FAQ tells you to go to registry.txt, but there's nothing about this subject in it. How do I add a verb to the Directory file type?
User avatar
nikos
Site Admin
Site Admin
Posts: 16296
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

ok, this info is in the new registry.txt that will be in the upcoming build 1001. I reproduce the relevant info:

---------------------------
A. HOW TO MAKE XPLORER² YOUR DEFAULT FOLDER APPLICATION

xplorer² can easily handle all the regular filesystem folders. If you want to launch x2 every time you click on a folder icon (e.g. on your desktop) add an "open" verb for the "Directory" file type, and have its default value point to the path where you have installed x2:

create this key with regedit:
[HKEY_CLASSES_ROOT\Directory\shell\open\command]

set this (Default) value:
"C:\Program files\zabkat\xplorer2\xplorer2.exe" /1 "%1"

(your installation path may differ; your executable may be called xplorer2_UC.exe; please check your installation folder)

You can use any of the command line options supported by xplorer², too, like /1 in the previous example. Note that "%1" is required (including the quotation marks), and is replaced by the folder path you are trying to open.
User avatar
Zero3K
New Member
Posts: 5
Joined: 2004 Jun 15, 03:40

Post by Zero3K »

Then how about adding a menu item to the right-click menu of My Computer that launches it?
User avatar
JRz
Gold Member
Gold Member
Posts: 560
Joined: 2003 Jun 10, 23:19
Location: NL

Post by JRz »

Zero3K wrote:Then how about adding a menu item to the right-click menu of My Computer that launches it?
It seems to me you are looking for a way to avoid having a shortcut to X² on your Desktop. Why is that? Having a shortcut on your Desktop to start X² (or in the Quick Start toolbar) seems adequate for the job.
Dumb questions are the ones that are never asked :turn:
User avatar
Zero3K
New Member
Posts: 5
Joined: 2004 Jun 15, 03:40

Post by Zero3K »

hmm, I guess adding an option to the right-click menu of the My Computer icon isn't neccessary then...
User avatar
JRz
Gold Member
Gold Member
Posts: 560
Joined: 2003 Jun 10, 23:19
Location: NL

Post by JRz »

Necessary? No, but depends on what you are trying to achieve. If the only thing you want to do is create an easy way to start X², a shortcut on the Desktop is even easier to use than a menu item in the context menu of the 'My Computer' icon on that same Desktop IMHO.

I know the 'My Computer thingy is also available in the Start menu and from within M$ Explorer, but eventually you'll like X² so much, you won't be using M$ Explorer anymore :)
In fact, I even don't start X² too often, because I have it fired up at boot time and rarely ever shut it down. Always active and at my fingertips ;)
Dumb questions are the ones that are never asked :turn:
Iain
Member
Member
Posts: 15
Joined: 2004 Jun 15, 11:36

Post by Iain »

nikos wrote:ok, this info is in the new registry.txt that will be in the upcoming build 1001. I reproduce the relevant info:
Thanks

:)
MarvinTheMartian
New Member
Posts: 2
Joined: 2004 Jun 26, 08:41

Post by MarvinTheMartian »

This trick isn't working for me. :(

I created this key (I had to create "open" and "command"):
My Computer\HKEY_CLASSES_ROOT\Directory\shell\open\command

Then I set the default value to the path of my x2_lite directory:
"D:\System\xplorer2_lite\xplorer2.exe" /1 "%1"

Then I did a restart, but still the f?$#ing Microsoft Explorer opens.

My system is a WinXP pro SP1. Anything that differs on this OS from the steps above?
timtim
New Member
Posts: 8
Joined: 2004 Jun 06, 15:39

Post by timtim »

JRz wrote:but eventually you'll like X² so much, you won't be using M$ Explorer anymore :)
In fact, I even don't start X² too often, because I have it fired up at boot time and rarely ever shut it down. Always active and at my fingertips ;)
Y'know I'm so used to having my boot script open 2 x2's (=4!), it never occured to me that some users might see x2 as a program to.... run! I guess my 'shell' is x2 + perfect menu + winkey: what's "explorer", precious? ;-)
Cheers, Tim.
User avatar
nikos
Site Admin
Site Admin
Posts: 16296
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

MarvinTheMartian:

you're right, and the problem is the /1 switch
if you remove that, it will redirect to x2 properly
i have no idea why this is happening but whenever you add any sort of command line arguments it reverts to explorer!
MarvinTheMartian
New Member
Posts: 2
Joined: 2004 Jun 26, 08:41

Post by MarvinTheMartian »

I see, thanks Nikos! Still testing, but if it goes on like this, the lite has to go and the pro version is a sure bet. ;)
Darren
Member
Member
Posts: 38
Joined: 2002 Jul 05, 06:23

Post by Darren »

JRz wrote:It seems to me you are looking for a way to avoid having a shortcut to X² on your Desktop. Why is that? Having a shortcut on your Desktop to start X² (or in the Quick Start toolbar) seems adequate for the job.
I posted this in another thread also, but anyway........
I'm trying to do the same thing, but the purpose for me is to use a third party 'search' program. If the program then finds a file or folder, I want to be able to click on it and get it to open xplorer2 to the appropriate location. (As 2x did with it's find function) At the moment it either opens the file with the default program, or opens the folder with Windows Explorer.
Am I expecting the wrong result here?
Thanks,
Darren
PS I've created the appropriate registry entry shown in one of the posts above, but Windows Explorer always opens.
User avatar
nikos
Site Admin
Site Admin
Posts: 16296
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

if you did the registry mambo correctly (you can easily test it: just d-click on any folder on your desktop and it should open with x2) then it is possible that this particular find tool calls explorer directly to open its folders. Try adding another verb like "x2open" and call it from the context menu