Computing.Net > Forums > Programming > use vb.net to execute batch files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

use vb.net to execute batch files

Reply to Message Icon

Name: Nickd
Date: December 29, 2004 at 14:10:11 Pacific
OS: xp
CPU/Ram: P3 500mhz
Comment:

I have 2 batch files that i run manually. I want to setup a vb.net form with 2 buttons on it and have them point to the batch files. I want to make this a exe.

Is this possible? your help is greatly appreciated



Sponsored Link
Ads by Google

Response Number 1
Name: Chi Happens
Date: January 3, 2005 at 06:01:59 Pacific
Reply:

Yes you can do this. You use System.Diagnostics.Process to create the process and then call Start() method.

Hope this helps,
Chi

"They mostly come at night...mostly"


0
Reply to Message Icon

Related Posts

See More


EXE to remove program? Batch - if [not] exist



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: use vb.net to execute batch files

Unable to execute batch file www.computing.net/answers/programming/unable-to-execute-batch-file/19206.html

Making native EXE using VB .NET www.computing.net/answers/programming/making-native-exe-using-vb-net/15988.html

WZZIP zipping/VB.NET process class www.computing.net/answers/programming/wzzip-zippingvbnet-process-class/4063.html