Put the executable file to run in the background under windows

@echo off

if "%1"=="h" goto begin

start mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&exit

:begin

set CS_CONFIG_PATH=D:\workplace\nxy\etc
set CS_LOG_PATH=D:\workplace\nxy\logs
Nohup_CipherPro.exe

CS_CONFIG_PATH, CS_LOG_PATH are the environment variables that my own execution program depends on
Nohup_CipherPro.exe is the execution program

Guess you like

Origin blog.csdn.net/woailp___2005/article/details/108240815