Page 1 of 1
commandline folder selection like explorer
Posted: 03 Oct 2009 23:12
by nony
I use
"Everything" for searching. In it I can define external file manager for opening path(so does in most of search programs). Now XYplorer has the option of selecting start path but it would be nice to have /select switch similar to windows explorer. Comes in very handy if folder has many subfolders/files.
Re: commandline folder selection like explorer
Posted: 04 Oct 2009 08:52
by admin
In the Help file under "Command Line Switches" you see
XYplorer.exe /ini=myini mystartpath
The startpath-switch must be the last in the list. So the easiest pattern you want is:
XYplorer mystartpath
Re: commandline folder selection like explorer
Posted: 04 Oct 2009 12:17
by nony
How to set selected folder. It opens the folder ok but doesn't highlight it. Also i see the passing file path doesn't work. Could it be made so that if filename is passed as cl then it opens the file's folder and selects the file.
Put in run box and see what i mean
> "explorer" /n, /select , %windir%\system32
> "explorer" /n, %windir%\system32
> "explorer" /n, /select , %windir%\system32\kernel32.dll
XYplorer supports only second one.
I think commandline could be improved as XYplorer supports dual pane we could specify paths for both. Another thing could be treeview enabed/disabled
Re: commandline folder selection like explorer
Posted: 05 Oct 2009 08:22
by admin
I'll look at that in one of the next version, thanks.
Re: commandline folder selection like explorer
Posted: 26 Jun 2010 17:41
by nony
How do i open path passed via commandline in a new tab.
Currently it opens the path in already opened tab.
The help files states that it should load the path in new tab but it doesn't
"%programfiles%\xyplorer\XYplorer.exe" "D:\Programs"
Also would like to refile the above request of folder selection
Re: commandline folder selection like explorer
Posted: 26 Jun 2010 18:15
by admin
nony wrote:How do i open path passed via commandline in a new tab.
Currently it opens the path in already opened tab.
First option in config / startup & exit.
Re: commandline folder selection like explorer
Posted: 26 Jun 2010 18:41
by nony
ah...fine..Thx
The file selection is recently implemented I hope you could do it for folder selection too.....Thanks for that too

Re: commandline folder selection like explorer
Posted: 27 Jun 2010 07:29
by nony
Doesn't work
If I check the "Open Command line in new tab" then XY duplicates the tab but doesn't change path according to the passed commandline.
BTW I use Single Instance of XY
Re: commandline folder selection like explorer
Posted: 27 Jun 2010 10:50
by admin
nony wrote:Doesn't work
If I check the "Open Command line in new tab" then XY duplicates the tab but doesn't change path according to the passed commandline.
BTW I use Single Instance of XY
This is a very recent bug that should be fixed in the next version.
Re: commandline folder selection like explorer
Posted: 08 Jul 2010 12:20
by nony
The commandline doesn't select file if XYP is already open. It works fine with new startup.
Also please consider adding folder selection via commandline.