문제

After installed XboxOneADK, there will be a Xbox One ADK Command Prompt.

its target is below:

C:\Windows\system32\cmd.exe /k "C:\Program Files (x86)\Microsoft Durango XDK\adk\DurangoVars.cmd" ADK

Then it can run as a new cmd window. And I can run command in this cmd window.

C:\Program Files (x86)\Microsoft Durango XDK\bin>xbapp.exe xxxxxx
C:\Program Files (x86)\Microsoft Durango XDK\bin>Makepkg.exe xxxxxx
...

I dont't like it's too manual.

How can I run only one command to launch the ADK cmd window with xbapp.exe and Makepkg.exe commands?

Thank you!

도움이 되었습니까?

해결책

Prepare a text file with this contents:

example.txt:

"C:\Program Files (x86)\Microsoft Durango XDK\adk\DurangoVars.cmd" ADK
xbapp.exe xxxxxx
Makepkg.exe xxxxxx
...
exit

And "execute it" this way:

cmd < example.txt
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top