Results 1 to 3 of 3

Thread: How to execute a batchfile(.bat) using vb

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Location
    Netherlands
    Posts
    3

    Unhappy

    Can somebody help me?
    I want to execute a batchfile(.bat) using vb. Do I have to use API for it? I have no idea. tnx!

    greetz,

    morph

  2. #2
    Addicted Member S@NSIS's Avatar
    Join Date
    Aug 2000
    Location
    Stoke-On-Trent, England
    Posts
    243
    hi,
    try this

    Code:
    Call Shell("Pathtobatfile\File.bat")
    That will run your batch file.

    Hope this helps

    Shaun
    Web/Application Developer
    VB6 Ent (SP5), Win 2000,SQL Server 2000

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Location
    Netherlands
    Posts
    3

    Talking TNX

    GEEEE! Tha was simple.

    If I only knew.... )


    TNX!


Posting Permissions

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



Click Here to Expand Forum to Full Width