Results 1 to 2 of 2

Thread: Is these any class or method to run/execute a Batch File

  1. #1
    Rajendra.Penumalli is offline VB.NET Forum Newbie
    .NET Framework
    .NET 3.0
    Join Date
    Jul 2012
    Posts
    6
    Reputation
    0

    Is these any class or method to run/execute a Batch File

    Hi,
    Is these any class or method in VB.Net language to run/execute a DOS Batch(.bat file) File in VB.Net?
    Please provide some Code Sample if Possible...

    Thanks,
    Rajendra

  2. #2
    Jas91 is offline VB.NET Forum Newbie
    .NET Framework
    .NET 4.0
    Join Date
    Jul 2012
    Location
    Baghdad, Italy. OK?=
    Posts
    17
    Reputation
    13
    Code:
    Shell("C:\yourfile.bat", AppWinStyle.NormalFocus)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Harvest time tracking