batch file - I need help writing an if () then command -


i trying write file kills every task runs. know how kill these tasks need writing if () then command. want make if command prompt closed then computer logs off. mention, know how log off command shutdown /l. can please me this?

use autohotkey run in background:

@echo off :loopme start /wait "c:\path\to\batch.file.bat" goto loopme 

put in startup folder in start menu... and... voila!

hope helps! ~css


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -