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

Support for xplorer² free lite version

Moderators: fgagnon, nikos, Site Mods

nealeh
Member
Member
Posts: 17
Joined: 2004 Jul 27, 11:52

Post by nealeh »

I have also noticed that double clicking a desktop folder opens a new instance of x2.

I'm undecided as to whether this is a good or bad thing! But are there switches to reuse exisitng x2 windows should i decide that to be my preference?
Cheers,
--
Neale
Insanity is hereditary, you get it from your children
User avatar
nikos
Site Admin
Site Admin
Posts: 16296
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

only x2 itself is smart enough not to open a new window
but no worries, extra windows are cheap as far as resources are concerned

/F:1 is a x2 switch, opening scrap windows. The whole command line is described in the quickstart guide
Darren
Member
Member
Posts: 38
Joined: 2002 Jul 05, 06:23

Post by Darren »

Well.......... I give up on this. It won't work.
Thanks anyway.
nealeh
Member
Member
Posts: 17
Joined: 2004 Jul 27, 11:52

Post by nealeh »

Give it one more go! Try this registry key:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\Open_with_Xplorer2]
@="Open with Xplorer2"

[HKEY_CLASSES_ROOT\Directory\shell\Open_with_Xplorer2\command]
@="\"C:\\Program Files\\zabkat\\xplorer2\\xplorer2_UC.exe\" \"%1\""
Cheers,
--
Neale
Insanity is hereditary, you get it from your children
Darren
Member
Member
Posts: 38
Joined: 2002 Jul 05, 06:23

Post by Darren »

nealeh, you're a genious!!
Although now I'll probably need therapy for not being able to work it out myself :wink:
Thanks again. You rock!
Darren
jstevans
New Member
Posts: 6
Joined: 2004 Aug 19, 16:44

Post by jstevans »

Yikes, such a long thread to figure out how to get Xplorer2 to be the default folder application. Thanks to all who put so much into this.

I've read it all but have a question: Precisely what do I do within the registry? I know I needf to create registry entries, I've done that before with no trouble for other applications. But, I'm not sure how to go about it here.

Do I create a new key called "Open_with_Xplorer2" under "HKEY_CLASSES_ROOT\Directory\shell"?

What are the text strings following the "@" symbol? Are they the values for the key? If so, are they string values?

Sorry for the basic questions but I gather from the thread that I'm not the only one who has been perplexed.

Thanks
User avatar
JRz
Gold Member
Gold Member
Posts: 560
Joined: 2003 Jun 10, 23:19
Location: NL

Post by JRz »

jstevans,

just copy the text in the 'code' block to the clipboard and paste it into a new file in your favourite editor. Save it as 'OpenFolderWithX2.reg' and simply double click this newly created file. Answer 'yes' when asked if you want to enter the keys into the registry and you're done. No hassle necessary editing the registry manually :)

Two notes:
1. make sure your version of X² has the correct name (The lite version is called Xplorer2.exe in stead of Xplorer_UC.exe !!)
2. make sure the folder you specify in the .reg file is the correct one. The default is the one in this code block - C:\Program Files\zabkat\xplorer2 - but you may have chosen to install in a different folder. Make sure to specify that folder if you changed it during install!!

Code: Select all

Windows Registry Editor Version 5.00 

[HKEY_CLASSES_ROOT\Directory\shell\Open_with_Xplorer2] 
@="Open with Xplorer2" 

[HKEY_CLASSES_ROOT\Directory\shell\Open_with_Xplorer2\command] 
@="\"C:\\Program Files\\zabkat\\xplorer2\\xplorer2_UC.exe\" \"%1\""
Enjoy!! 8)
Dumb questions are the ones that are never asked :turn:
jstevans
New Member
Posts: 6
Joined: 2004 Aug 19, 16:44

Post by jstevans »

I'm feeling like a dummy. I did as instructed, I think, but when I double click on the saved file's icon I get an error message saying "cannot import ... the specified file is not a registry script. You can import only registry files." This occurs right after the box asking me if I really want to add info to the registry.

Here's what I put into the file, it reflects that I'm using the lite version.

[HKEY_CLASSES_ROOT\Directory\shell\Open_with_Xplorer2]
@="Open with Xplorer2"

[HKEY_CLASSES_ROOT\Directory\shell\Open_with_Xplorer2\command]
@="\"C:\\Program Files\\zabkat\\xplorer2_lite\\xplorer2.exe\" \"%1\""

The executable is in C:\Program Files\zabkat\xplorer2_lite\xplorer2.exe

Can you tell me what I'm doing wrong?

Thank you.
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

To get the error you report, you must have forgotten the first 2 lines of the registry export/import file:

Code: Select all

Windows Registry Editor Version 5.00
 
You also forgot the space character between the last pair of double quotes, but that didn't cause the error you reported. ;)
Starsurfer
Bronze Member
Bronze Member
Posts: 109
Joined: 2002 Feb 23, 23:51
Location: Atlantis

Post by Starsurfer »

is it in anyway possible to cause xplorer2 to start in 'My Computer' in the shortcut..?
jstevans
New Member
Posts: 6
Joined: 2004 Aug 19, 16:44

Post by jstevans »

Duh. I thought they were the name of the editor you used and thus unneeded. Duh!! Thanks for the help, the registry modification loaded. I'll reboot and see if xplorer2 is now the default folder application.
User avatar
fgagnon
Site Admin
Site Admin
Posts: 3737
Joined: 2003 Sep 08, 19:56
Location: Springfield

Post by fgagnon »

Yes, Starsurfer - just specify the folder(s) you want to start in on the command line,
as described in the Quickstart guide.

But it doesn't make much sense to me to open at a particular folder in the context of this discussion --
-- which is how to get x2 as the default file browser (or pick from r-click context menu) when clicking on a folder.

But just to show off another way to 'start' x2, the following code, saved as a .reg file
(and then imported with a d-click, or "run") will open x2-lite at My Computer in the left pane
and at the activating folder in the right pane:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\x2_Lite_browse]
@="x2 Lite browse"

[HKEY_CLASSES_ROOT\Directory\shell\x2_Lite_browse\command]
@="\"C:\\Program Files\\zabkat\\xplorer2_lite\\xplorer2.exe\" ::{20D04FE0-3AEA-1069-A2D8-08002B30309D} \"%1\""
Note that because "My Computer" is a virtual folder
we specify it with its ::{funny-ID-number} ;)
______________________________________________________________________________________________________________
User avatar
JRz
Gold Member
Gold Member
Posts: 560
Joined: 2003 Jun 10, 23:19
Location: NL

Post by JRz »

jstevans wrote:Duh. I thought they were the name of the editor you used and thus unneeded. Duh!! Thanks for the help, the registry modification loaded. I'll reboot and see if xplorer2 is now the default folder application.
Well, I did tell you to copy everything inside the 'code' block to the file didn't I? But I'm happy you managed it in the end ;)
Dumb questions are the ones that are never asked :turn:
Starsurfer
Bronze Member
Bronze Member
Posts: 109
Joined: 2002 Feb 23, 23:51
Location: Atlantis

Post by Starsurfer »

Fgagnon yes..with other folders/path no prob..
but yesterday i was trying the thing with my comp for quite some time..
just wouldn't work..(specifying it in the shortcut)

have done similar things a long time back but i forget..
this is what i had put in the command line

Code: Select all

 path\xplorer2.exe /S:comp {20D04FE0-3AEA-1069-A2D8-08002B30309D}
and it was just not accepting it (when i pressed Apply)....tried today & it accepts it just like that.

EditIt does not start browsing in my Computer when I double-click the shortcut. - which it should..right ?


-
Last edited by Starsurfer on 2004 Aug 20, 16:04, edited 1 time in total.
User avatar
nikos
Site Admin
Site Admin
Posts: 16296
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

this is not a correct path
you need ::{20D04FE0 ... in front