Start Application At A Specific Transaction With Batch File
Posted: 20 Nov 2019 12:35
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!
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!