- Joined
- Oct 24, 2020
- Posts
- 1,354
- Reaction
- 437
- Points
- 401
paano po ang code kung gusto ko magrun ng .exe sa bat tapos irrun nya din ung script for .exe..
@echo off
start /wait "C:\path\to\your\executable.exe"
echo Running script...
C:\path\to\your\script.bat
start /wait
command ay ginagamit upang i-execute ang .exe file at hintayin itong matapos bago ipagpatuloy ang script. Ang echo
command ay ginagamit upang ipakita sa user na ang script ay kasalukuyang tumatakbo. Matapos nito, ang start
command ay ginagamit upang patakbuhin ang script .bat.