commandline folder selection like explorer

Features wanted...
Post Reply
nony
Posts: 170
Joined: 16 Sep 2009 19:51

commandline folder selection like explorer

Post 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.

admin
Site Admin
Posts: 60644
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: commandline folder selection like explorer

Post 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

nony
Posts: 170
Joined: 16 Sep 2009 19:51

Re: commandline folder selection like explorer

Post 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

admin
Site Admin
Posts: 60644
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: commandline folder selection like explorer

Post by admin »

I'll look at that in one of the next version, thanks.

nony
Posts: 170
Joined: 16 Sep 2009 19:51

Re: commandline folder selection like explorer

Post 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

admin
Site Admin
Posts: 60644
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: commandline folder selection like explorer

Post 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.

nony
Posts: 170
Joined: 16 Sep 2009 19:51

Re: commandline folder selection like explorer

Post 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 :D

nony
Posts: 170
Joined: 16 Sep 2009 19:51

Re: commandline folder selection like explorer

Post 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

admin
Site Admin
Posts: 60644
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: commandline folder selection like explorer

Post 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.

nony
Posts: 170
Joined: 16 Sep 2009 19:51

Re: commandline folder selection like explorer

Post 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.

Post Reply