Open an Ms-Dos window
How can I open an MS-DOS windows where i can put some commands in it to execute after installing an app. ?? :hang: :hang:
Archive: Dos -> Command line
Open an Ms-Dos window
How can I open an MS-DOS windows where i can put some commands in it to execute after installing an app. ?? :hang: :hang:
ms-dos? i guess you speak of the command-line window.
if you want to execute a single command, use the Exec command. if you want to execute a couple of commands you could also do so by writing a batch file (.bat)
If you want the user to put some commands in use:
ReadEnvStr$0 "COMSPEC"
>Exec '"$0"'
># or, if you want to wait for it
>ExecWait '"$0"'
If you want to execute your own code do what killahbite said. If you don't want the DOS window to show up use nsExec.