I was hoping someone might be able to help me with sending commands to the applications I just opened.
I know each application is different perhaps you could teach me how to find these commands?
I want to eventually be able to call a single batch file and launch a game or application (let's use StarCraft for an example) then log in, and start a game and run commands to play the game.
I am under the understanding this is possible with MS-DOS.
However, in the meantime perhaps we should just start with this example.
I would like to launch VS2015 Command Prompt and make a call to unlock a file. I cannot seem to figure out how to make a call to the VS Developer Command Prompt after it is opened. Can you please help me with this please
@echo off
set "pathA=C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio 2015\Visual Studio Tools\"
set path=%path%;%pathA%
start /max "Developer Command Prompt for VS2015".lnk cd "C:\Program Files (x86)\Microsoft Visual Studio 14.0\"
echo. "C:\temp\Test.txt"