运行 后台 GUI 程序 Windows 10

Run GUI program in background in Windows 10

我想 运行 一个程序(它有一个 gui)在后台启动时。由于将程序移动到 shell:startup 文件夹根本无法启动程序,我写了一个小脚本来启动程序(但不在后台):

@echo off
"C:\Users\kilia\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\dpclat.exe"
exit

我的问题是命令提示符不会自动关闭,或者“退出”功能无法正常工作。 如果程序可以在没有 GUI 的情况下启动,那就更好了,但这不是必须的。

nircmd exec hide X:\Path\To\Bat

开始隐藏你的脚本。 您应该再次尝试将您的脚本放入 shell:startup,因为它 应该 可以工作,但奇怪的是它不为您做。

您可以使用他提到的 START 命令 @Squashman

Start "" "C:\Users\kilia\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\dpclat.exe"