Run batch file as a Windows service

NSSM is the Non-Sucking Service Manager to install service: nssm install “you service name” then a dialog will appear so you can choose where is the file you want to run. to remove nssm remove “you service name”