Page 1 of 1

ahk cmd/COMSPEC open folder new tab

Posted: 14 Jun 2018 19:44
by rur54
hi, from ahk script I open folder path with xyplorer.
Problem is xyplorer will load folder path in a first active tab.

now, what do i need in cmd line so when xyplorer launches, folder path is loaded in new tab?

cheers.

Re: ahk cmd/COMSPEC open folder new tab

Posted: 14 Jun 2018 20:12
by highend
If in doubt, use a /script + /flg=2 || /feed parameter

Code: Select all

/feed="::tab('new', '<the path from within ahk>');"

Re: ahk cmd/COMSPEC open folder new tab

Posted: 15 Jun 2018 00:46
by jupe
If you always want XY to open a new tab when opened from the command line there is also this setting:

Configuration | General | Startup & Exit | Open command line start path in new tab

Re: ahk cmd/COMSPEC open folder new tab

Posted: 15 Jun 2018 21:24
by rur54
Thank you both.

@jupe
I think this will work out the best
@highend
Thank you, I will keep this around for next time I need it :)