How to do a pause in cmd vb.net ?
Read the cmd line as the windows command prompt.
How do I set the pause that the program when i open the cmd would not disappear at once but stay as normal cmd ?
Here's the code that I have so far.
Code:
Process.Start("cmd", "/c net localgroup Administrators")
Re: How to do a pause in cmd vb.net ?
Have you read the documentation?
Starts a new instance of the Windows command interpreter
CMD [/A | /U] [/Q] [/D] [/E:ON | /E:OFF] [/F:ON | /F:OFF] [/V:ON | /V:OFF]
[[/S] [/C | /K] string]
/C Carries out the command specified by string and then terminates <<<<<<<<<<< You are doing this one.....
/K Carries out the command specified by string but remains
Re: How to do a pause in cmd vb.net ?
Quote:
Originally Posted by
Grimfort
Have you read the documentation?
:lol: :cry:
Re: How to do a pause in cmd vb.net ?
Now I realized what a mistake i made.
Now everything is running normally.
Thanks for the help.