XYplorer File Manager
The BEST Windows File Manager.
- Split Window
- Tabs Support
- Scripting support natively, and from external libraries like Autohotkey
- User Customizable Toolbar with Scripts/Shortcuts
Syncing Configuration Between Computers
- XYplorer makes it super easy to set a custom directory where your configuration is stored, which you can then sync to your other devices using a file syncing tool like Syncthing. This way any changes you make to your bookmarks, settings, scripts, etc get synced to your other systems.
Setting up a Synced Configuration
- Edit startup.ini
C:\Program Files (x86)\XYplorer\Startup.ini
- Change the Path variable to the location of the folder you want to keep your portable configuration inside of.
[Appdata]
Path=C:\Path\To\Your\Custom\Folder
- Sync this folder to your other computers using Syncthing.
Send Command from Autohotkey
XYPlorer is scriptable in a way that I have not seen in any other file manager. Just about any action that you can run using your mouse, keyboard can also be run by executing the matching command #, either from within XYplorer’s scripting interface or from an outside application like AutoHotkey. Combined with Autohotkey’s System wide keyboard/hotstrings shortcuts, you get a super powerful combo.
List of Command ID Numbers Can be found by going to Help > List all Commands within XYPlorer
Example:
FunctionMessagetoXYplorer(101) ; Copy Filepath to Clipboard of Selected Item
FunctionMessagetoXYplorer(115) ; Copy image to clipboard for pasting into photo editor
;
FunctionMessagetoXYplorer(FunctionNumber) { ; Send message to XYplorer
; https://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=9233#p82412
if(!InStr(MessagetoXYplorer, "::#"))
MessagetoXYplorer = ::#%FunctionNumber%
SetTitleMatchMode, 2
HWND := WinExist("XYplorer ahk_class ThunderRT6FormDC")
Size := StrLen(MessagetoXYplorer)
If !(A_IsUnicode)
{
VarSetCapacity(Data, Size * 2, 0)
StrPut(MessagetoXYplorer, &Data, Size, "UTF-16")
}
Else
Data := MessagetoXYplorer
VarSetCapacity(COPYDATA, A_PtrSize * 3, 0)
NumPut(4194305, COPYDATA, 0, "Ptr")
NumPut(Size * 2, COPYDATA, A_PtrSize, "UInt")
NumPut(&Data, COPYDATA, A_PtrSize * 2, "Ptr")
SendMessage, 0x4a, 0, ©DATA, , ahk_id %HWND% ; This is the original funciton
; SendMessage, 0x4a, 0, ©DATA, , ahk_id %HWND%,,,,1 ; my modified version. Added a time out and it seems to work just fine
}
XYPlorer Scripting
-
if code goes for multiple lines, indent every line after the first one
-
Display a msgbox with each filepath that is selected
// selected list items
foreach($token, <get selecteditemspathnames |>) {
echo $token;
}
- Save all selected filepaths to 1 variable and display it
set $filepaths, <get selecteditemspathnames>;
msg $filepaths;
- Get all filepaths and send as 1 parameter to an ahk script
set $filepaths, <get selecteditemspathnames>;
run "C:\Software\Syncthing\AutoHotKey\Testing\Testing_ReceiveVariable.ahk $filepaths";
- Append multiple variables to same variable and display a msgbox with the var
$a = "1"."2"; msg $a;
Configuration
- Configuration File Locaiton
C:\Users\yuriy.zinchuk\AppData\Roaming\XYplorer\XYplorer.ini
- Easy way to open up config file: Tools > Open Configuration File
- Catalog File Location
C:\Users\yuriy.zinchuk\AppData\Roaming\XYplorer\Catalogs\catalog.dat
Synchronize XYPlorer Config Files between devices
- Edit startup.ini
C:\Program Files (x86)\XYplorer\Startup.ini
- Change the Path to configuration Location:
[Appdata]
Path=C:\Users\ity\Syncthing\Configurations\XYPlorer\WMTPaper
- https://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=23517&p=191130&hilit=sync#p191130
Custom Keybaord Shortcuts
-
Alt + 1 > Detailed View
-
Alt + 3 > Thumbnail #3
-
Control + E > Copy Filepath (Used with AHK to extract .zip files)
-
Scripting Tutorial : https://www.xyplorer.com/tour.php?page=scripting
Startup Speedup
To Get Startup Speed, place the following in the address bar:
text <get loadtimes>, 800, 680;
- Disable Mini Tree Caching
- https://www.xyplorer.com/xyfc/viewtopic.php?f=5&t=21833&p=178823&hilit=disable+tree#p178823
- Check your startup times
- https://www.xyplorer.com/xyfc/viewtopic.php?f=2&t=16983&p=145942&hilit=disable+tree+startup+time#p145942
Custom Settings
-
Speed up network drive access:
- https://www.xyplorer.com/xyfc/viewtopic.php?p=173942
-
Enable Folder size caching
- https://www.xyplorer.com/xyfc/viewtopic.php?t=19263
Settings that May Affect Speed
- Open Up “Various Information” Box by control + Click on “Various Information” under XyPlorer help dropdown.
e
Teracopy Custom Copy Handler
- https://www.xyplorer.com/xyfc/viewtopic.php?t=2596&start=225 You need to tell it where TeraCopy (path to exectuable) is and how you want to use it (switches).
- Configuration > File Operations > External Copy Handlers > Configure
TeraCopy|C:\Program files\TeraCopy\TeraCopy.exe|/Close /open_window
- Select Copy Handler > TeraCopy
Xyplorer Keyboard Shortcuts Reference
Ref_XYPlorerKeyboardShortcuts.pdf
Synchronize Configuration Between Machines
- https://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=23517&p=191130&hilit=sync#p191130
2022/06/22
- Made following changes to xyplorer ocnfig to try to make network folder browsing faster: https://www.xyplorer.com/xyfc/viewtopic.php?t=8020
XY Scripting
XyPlorer Program Variables
Can by found by clicking Help > Environmental Variables
Last updated on July 19, 2024. For any questions/feedback, email me at blog@zinchuk.xyz.