I am trying to create an alias that will execute commands in console and display output in FARR.
I am trying to reuse the builtin runcap alias for that.
I have an alias defined like this:
1000>>>Flush DNS>->Flush DNS cache | restartsearch runcap ipconfig /flushdns>+>flush
With this alias I have to press enter twice to actually execute the alias, and the search string changes after the first enter. Also the alias is not working without regex pattern.
I am trying to eliminate the second enter press and the search string change. I tried using dosearch instead of restartsearch but then the alias doesn't trigger (it just changes the search string to the alias name)
Also is it possible to this but to run the alias with admin privileges? When I try /runasadmin switch it just passes it to the runcap alias that in turn passes it to the ipconfig command and that just fails.
Probably I am missing something obvious