02 August 2018

Restart Program Automatically Using Batch File

Assalamualaikum,

Ni aku kongsikan kod ringkas bagaimana nak mulakan semula aplikasi jika di-pangkah.

Save as Restart.Bat


@echo off
:Restart
start "Notepad" /wait "C:\Windows\notepad.exe"
goto Restart

No comments: