Performing an equivalent of sendkeys in a .bat file
propedeutique
Posted messages
22
Registration date
Status
Member
Last intervention
-
propedeutique Posted messages 22 Registration date Status Member Last intervention -
propedeutique Posted messages 22 Registration date Status Member Last intervention -
Hello,
I created a .bat file that, among other things, opens an application.
So far, no problem.
I then want to access a command in this application: a ctrl+D shortcut allows me to access the command I need to activate.
Question: how can I trigger ctrl + D in my .bat file? (An equivalent of sendkeys in DOS???)
Thanks in advance.
I created a .bat file that, among other things, opens an application.
So far, no problem.
I then want to access a command in this application: a ctrl+D shortcut allows me to access the command I need to activate.
Question: how can I trigger ctrl + D in my .bat file? (An equivalent of sendkeys in DOS???)
Thanks in advance.
2 answers
-
Hello,
Here's the link = https://www.codeproject.com/Tips/647828/Press-Any-Key-Automatically-Usi
I also saw the function send(""^d"") but I don't know if it works.
Best regards. -
Thank you, but the "send" command unfortunately does not work in DOS!