Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发的软件(Java 应用程序)目前是通过一个设置为 Windows 服务的批处理文件启动的,但是当我可以编写一个 .bat 文件时,为每台计算机设置它看起来有点麻烦通过简单的双击创建启动文件夹的快捷方式。使用 Windows 服务而不是 Windows 7 中的启动文件夹有什么好处吗?
该服务将在 Windows 启动时自动运行,并在服务失败时自动重新启动。您可以通过运行 services.msc 来管理服务选项
https://technet.microsoft.com/en-us/library/cc755249.aspx