I have a elevated batch file and I want it to execute a different batch file in a separate window I need to know if it is possible and how to do it. Can any one help.

有帮助吗?

解决方案

Yes, if you want to launch a file, say sample.bat, you can use

start "Title" cmd /c sample.bat

Title is the title text I want to display for the new window.

You can see the details in Documentation

Enter a START command in an existing command shell, and specify CMD as the command to execute.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top