8 lines
153 B
Batchfile
8 lines
153 B
Batchfile
@if not "%~0"=="%~dp0.\%~nx0" start /min cmd /c,"%~dp0.\%~nx0" %* & goto :eof
|
|
|
|
set name=%1
|
|
set path=%~dp0
|
|
|
|
taskkill /im %name% /F
|
|
|
|
START "" %path%/%name% |