XYplorer Integration
XYplorer Integration
The Windows 11 File Explorer is driving me crazy, so I'm trying out XYplorer, an Explorer alternative. Is there a way to get Everything 1.5a to open files and folders/paths in XYplorer, or other similar file manager, instead of Windows File Explorer?
Advice appreciated. Lance
Advice appreciated. Lance
Re: XYplorer Integration
To open folders from Everything in XYplorer:
- In Everything, from the Tools menu, click Options.
- Click the Context Menu tab on the left.
- Select Open (Folders)
- Change the command to:
$exec("C:\Program Files\XYplorer\XYplorer.exe" "%1")
- Select Open Path
- Change the command to:
$exec("C:\Program Files\XYplorer\XYplorer.exe" "$parent(%1)")
- Click OK.
Last edited by void on Mon Apr 29, 2024 1:42 am, edited 1 time in total.
Reason: $parent("%1") => "$parent(%1)"
Reason: $parent("%1") => "$parent(%1)"
Re: XYplorer Integration
Thanks for the prompt and helpful reply. I tried changing the command lines as suggested. I was getting error messages saying that Windows can't find the XYplorer folder or file. Then I realized that my XYplorer folder and exe file are in C:\Programs (x86) folder. So, for Open (Folders) I changed the code to this:
That works nicely. Excellent! Half way home.
Then I changed the Open (Path) code to this:
Yikes! That does not work. It simply opens the C:\Program Files (x86)\XYplorer folder.
Any suggestions for the Open (Path) command? Is there a typo or?
Code: Select all
$exec("C:\Program Files $(x86$)\XYplorer\XYplorer.exe" "%1")
Then I changed the Open (Path) code to this:
Code: Select all
$exec("C:\Program Files $(x86$)\XYplorer\XYplorer.exe" $parent("%1"))
Any suggestions for the Open (Path) command? Is there a typo or?
Re: XYplorer Integration
Open (Folders)
Code: Select all
$exec("C:\Program Files (x86)\XYplorer\XYplorer.exe" "%1")
Code: Select all
$exec("C:\Program Files (x86)\XYplorer\XYplorer.exe" $parent("%1"))
Re: XYplorer Integration
Thanks, Tuska. But as I said, the code for Open (Folder) that I have does work, with the $( and $) for the parentheses in the path. My problem is the code for the Open (Path) option. On my machine, the code you offer leads only to this message:
https://postimg.cc/SYSZy7DM
As I read the hints for the Context Menu option in Everything, $( = (
So I remain stumped.
https://postimg.cc/SYSZy7DM
As I read the hints for the Context Menu option in Everything, $( = (
So I remain stumped.
Re: XYplorer Integration
Hi,
This code works for "Open Path" (as stated by you):
Double-click on an entry in the path column in Everything 1.5.0.1373a (x64) to open this path in XYplorer.
On my PC I have tested with a 30-Day Trial version of XYplorer:
Menu "Help" > "Various information > App: ... C:\Program Files (x86)\XYplorer\XYplorer.exe
(I am a Total Commander user).
This code works for "Open Path" (as stated by you):
Code: Select all
$exec("C:\Program Files $(x86$)\XYplorer\XYplorer.exe" $parent("%1"))
On my PC I have tested with a 30-Day Trial version of XYplorer:
Menu "Help" > "Various information > App: ... C:\Program Files (x86)\XYplorer\XYplorer.exe
(I am a Total Commander user).
Re: XYplorer Integration
Please try the following command:
The quotes need to be on the outside of $parent()
$exec("C:\Program Files $(x86$)\XYplorer\XYplorer.exe" "$parent(%1)")
The quotes need to be on the outside of $parent()
Re: XYplorer Integration
Excellent! That works very nicely. Thank you so very much.
Lance (formerly, User59)
Lance (formerly, User59)
Re: XYplorer Integration
So, to sum up, here's what worked:
Open Folder:
Open Path:
Open Folder:
Code: Select all
$exec("C:\Program Files $(x86$)\XYplorer\XYplorer.exe" "%1")
Code: Select all
$exec("C:\Program Files $(x86$)\XYplorer\XYplorer.exe" "$parent(%1)")
Re: XYplorer Integration
Alternative:
Open Path:
Code: Select all
$exec("C:\Program Files $(x86$)\XYplorer\XYplorer.exe" /select="%1")
From the XYplorer documentation:
/select
XYplorer will go to the parent path in the folder tree and select the item in the file list. For example, this will go to C:\ and select Windows in the list:
XYplorer.exe /select=C:\Windows
Re: XYplorer Integration
Yes, that works too. Nice!
Re: XYplorer Integration
This was changing the current tab to the destination, which wasn't the intended behavior. I had to change the setting in XYplorer so that links passed to it would open in a new tab. Perhaps there's another way with a script (but I can't get this to work).
From https://www.xyplorer.com/xyfc/viewtopic ... 138#p80138
From https://www.xyplorer.com/xyfc/viewtopic ... 138#p80138
Code: Select all
Tools=>Configuration=>Startup & Exit=>enable "Open command line start path in new tab"
and maybe disable "Allow multiple instances"
Re: XYplorer Integration
Just "installed" portable XYPlorer 26.60. the following seems to work here:
In dual pane mode, opening the folder in a new tab in the inactive pane is a different story. Its behaviour might be a bug.
Will ask on the XYplorer forum (in a couple of days).
- In Everything, go to Menu => Tools => Options => General => Context Menu
- Select Open (Folders) from the Context menu items list
- Set Command to:
Code: Select all
$exec("c:\path to\XYplorer.exe" /script="::tab$('new', '%1'$);")
- Select Open Path from the Context menu items list
- Set Command to:
Code: Select all
$exec("c:\path to\XYplorer.exe" /script="::tab$('new', '%1'$);")
- Click the OK button
- Done.
In dual pane mode, opening the folder in a new tab in the inactive pane is a different story. Its behaviour might be a bug.
Will ask on the XYplorer forum (in a couple of days).
Re: XYplorer Integration
I am using one pane in XY and using these commands opens up two tabs. One is the correct one and the other is My Computer. Strange.
Re: XYplorer Integration
That is (what I think is) the bug I was talking about (which is more severe in dual pane mode).
(BTW: Once a 'This PC' tab is opened, the next time you run the command, XYplorer will not open a new 'This PC' tab.