Problems with Batch Files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DerNalia
    New Member
    • Oct 2006
    • 1

    Problems with Batch Files

    I've searched all over the place. Nobody seems to have a working solution.
    I'm using Visual Basic 6 Professional
    Here is what i'm doing.

    Private Sub cmdPlay_Click()
    dim path as string
    path = App.path & "\sauerbraten\s auerbraten.bat"
    Shell(Path)
    End
    End Sub

    When i open the batch file manually, the program opens and runs perfectly, so i know its not a problem with the batch file.
    I don't get any error messages, the program just ends, like its suppossed to, but failes to do the whole shell thing
Working...