Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am using following command through a batch file to install my required instance of SQL server. Problem is, when it runs, statement is shown on screen and .bat file is open for view.
How can I run this statement through my vb.net application?

start /wait SQLEXPR32and64.EXE /qb username="MyName" companyname="COName" addlocal=ALL disablenetworkprotocols="2" instancename="ERPTesting" SECURITYMODE="SQL" SAPWD="abc123"

Thanks
Posted
Updated 9-May-15 8:47am
v2

1 solution

Read the documentation on the Process[^] class.
 
Share this answer
 
Comments
Maciej Los 9-May-15 14:48pm    
+5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900