🔒 Closed Patulong po sa coding (.bat file)

Status
Not open for further replies.
Para ma-run mo ang isang .exe file at pagsabayin ito sa pagpapatakbo ng isang script .bat, maaari mong gamitin ang sumusunod na code:

Code:
@echo off
start /wait "C:\path\to\your\executable.exe"
echo Running script...
C:\path\to\your\script.bat

Sa code na ito, ang 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.

Siguraduhin lamang na palitan ang "C:\path\to\your\executable.exe" at "C:\path\to\your\script.bat" sa mga tamang lokasyon at pangalan ng iyong .exe file at script file.
 
Status
Not open for further replies.

Similar threads

About this Thread

  • 2
    Replies
  • 371
    Views
  • 1
    Participants
Last reply from:
jrafael0330

Trending Topics

Online now

Members online
1,347
Guests online
3,083
Total visitors
4,430

Forum statistics

Threads
2,307,346
Posts
29,178,361
Members
1,193,360
Latest member
bebeisqur
Back
Top