Solved Start application at a specific transaction with batch file

November 20, 2019 at 10:19:26
Specs: Windows 7

I'm able to start EVOERP.exe using my batch file, but I would like to be able to login to EVO at a specific transaction "SH-K" to view work-order reports using the same batch file. How would one start a program -> login to program using credentials -> open specific function in program from a batch file?

I've attempted to login using:

set /p UName=Name?
set /p Pwd=Password?

start EVOERP.exe %UName% %Pwd%

just to see if if I could have it login for me but it did not work.

Currently I am only able to get it to launch EVO:

@echo off
cls
:start
echo.
echo 1. initiate EVO
echo 2. I'm done
echo.
echo.
set /p x=Pick:
IF '%x%' == '%x%' GOTO Item_%x%

:Item_1
start EVOSHORTCUT

:Item_2
exit

Even if you know how to login to a program from a batchfile that would be very very helpful.

Responses do not have to be EVO specific, if you have done this before with another application it would be helpful to share how it was done.

All input is appreciated, thank you!

message edited by awibbin


See More: Start application at a specific transaction with batch file

Reply ↓  Report •

#1
November 20, 2019 at 11:26:46
✔ Best Answer
If your program has his command line switch, you can perhaps use it.

Reply ↓  Report •

#2
November 21, 2019 at 07:21:14
Thank you for this suggestion, I am looking in to it now.

Reply ↓  Report •
Related Solutions


Ask Question