1.

Solve : Is it possible to write a batch file that uses the ENTER key??

Answer»

At work, when I open up a program it automatically pop up a dialog box and I need to click ENTER to close it. I do not have the ADMIN writes so I can not change any settings for the application.

Is it POSSIBLE for me to write a batch file that opens up the file (which I can do) and then using the batch file clicks ENTER for me.

Thank you.
You could try

ECHO. | program.exe

where program.exe is your program
thank you Dias but it does not work

Any other comment of suggestions are always appreciated.
tks...echo Y
In my batch file to open my application
START EXPLORER "C:\Program Files\blah\blah\blah\someprograme.exe"
it launches the application but I need to manually click ENTER.

I tried
"C:\Program Files\blah\blah\blah\someprograme.exe" for some reason it lauches the application and automatically bypass the ENTER key perfectly.

PROBLEM:The DOS cmd prompt window refuses to close. There are no text in it or any error message. Any comments of how to close this DOS cmd prompt window.

thanksTry this

Code: [Select]start "" "C:\Program Files\blah\blah\blah\someprograme.exe" Thank you Dias de verano

you are a GENIUS, it WORKED perfectly!!!!



Discussion

No Comment Found