11 years ago
How to set the priority between two 'cmd' process?
I have an alias named 'Alias.CommandPrompt', the judgement condition are two property: ProcessName => cmd and CommandLine => 'C:\Windows\System32\cmd.exe'. So when one cmd window exists already and I want to do keys operation on the new one which is just running by 'C:\Windows\System32\cmd.exe', How can I let 'Alias.CommandPrompt' find the later one to keys value instead of the already exists one? (We are unable to modify the Alias/NameMapping.)