2024-07-29
- Writing a .bat file in windows, starting a particular .exe file
start %SOME_PATH_OF_THE_EXE%\file.exe
- Setting a path to a variable in
.bat
file
SET JAVA_HOME="C:\ProgramFiles..
SET JDK=%JAVA_HOME%\bin
start %SOME_PATH_OF_THE_EXE%\file.exe
.bat
fileSET JAVA_HOME="C:\ProgramFiles..
SET JDK=%JAVA_HOME%\bin