Results 1 to 3 of 3

Thread: SHELL

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    Omaha, Ne
    Posts
    65

    Cool

    Anyone have a code sniplet to execute at BAT file in VB Code? The SHELL command appears to be lacking for me.


    Thanks so much.

  2. #2
    Guest
    I tried this using the Shell command and it worked.

    Code:
    Private Sub Command1_Click()
    
        retval = Shell("C:\Autoexec.bat", vbNormalFocus)
    
    End Sub

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    Omaha, Ne
    Posts
    65

    Shell

    Wierd...it wasn't working for us on an NT workstation. We did find another route using CMD that seems to be working though. Thanks anyway.

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