Results 1 to 3 of 3

Thread: kill a MS-DOS Windows

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Location
    Malang, Indonesia
    Posts
    15

    Cool kill a MS-DOS Windows

    Hi all....

    For some reason I must create a program that call an ".bat" file,
    this program for this far is working but the problem is.....

    my program can't close the "ms-dos window", for more clearly you can download this simple sample of my program

    who can help me?
    Attached Files Attached Files

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    Shell your bat file like this:
    Code:
    Shell Environ("ComSpec") & " /c test.bat", vbNormalFocus
    Best regards

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Location
    Malang, Indonesia
    Posts
    15

    Thumbs up It's work

    Hi Jo....


    Your command is working.......



    Thanks a lot

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