Oh, I see. I thought you were after the output. Sorry.
Windows specific forum
The minimum (if the command launched in a window does not need to communicate with the program that launched it)I now need to construct a string variable eg Command$ in order to get:
RunProgram("cmd.exe", Command$, #Null$, #PB_Program_Open)
PS. See CMD /? to see differences between /C and /K and other possibilites.
Code: Select all
Command$ = "ver" RunProgram("cmd.exe"," /k " + Command$, "")
(English is not my native language, I use an online translator.)