Domanda

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top