ahk cmd/COMSPEC open folder new tab

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
rur54
Posts: 46
Joined: 12 Feb 2015 19:52

ahk cmd/COMSPEC open folder new tab

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

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: ahk cmd/COMSPEC open folder new tab

Post by highend »

If in doubt, use a /script + /flg=2 || /feed parameter

Code: Select all

/feed="::tab('new', '<the path from within ahk>');"
One of my scripts helped you out? Please donate via Paypal

jupe
Posts: 2757
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: ahk cmd/COMSPEC open folder new tab

Post 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

rur54
Posts: 46
Joined: 12 Feb 2015 19:52

Re: ahk cmd/COMSPEC open folder new tab

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

Post Reply