Sending strings/promts to CMD which open an .exe
Mostrar comentarios más antiguos
Tyring to send input to a cmd opened software:
They are just strings but if i ad another dos/system command it just starts a new cmd window. also adding & to each doesent work, i want so send the promts
dos('cd C:\Users\...\folder\ & build.exe')
system('cd C:\Users\...\folder\ & build.exe')
Bold are the strings i want so send but ist doesnt work it just stays till the underlined.
Perple_X version 6.9.1, source updated April 20, 2022.
NO is the default (blank) answer to all Y/N prompts
Enter a name for this project (the name will be used as the
root for all output file names) [default = my_project]:
NAME
The problem definition file will be named: NAME.dat
Enter thermodynamic data file name [default = hp02ver.dat]:
hp03ver.dat
2 comentarios
Walter Roberson
el 30 de Mayo de 2022
Use System.Diagnostics.Process
Alexander Balduin
el 30 de Mayo de 2022
Editada: Alexander Balduin
el 30 de Mayo de 2022
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!