shell batchfile w/variable from vb6 ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • budz
    Disruptive Innovator
    • Sep 2003
    • 4230

    #1

    shell batchfile w/variable from vb6 ?

    anyone know how to shell a batchfile from vb6 and pass a variable..

    from run this works fine
    "C:\develop\test.bat VARIABLE"


    but from vb I get probs
    Shell "C:\develop\test.bat VARIABLE"

    doesnt work as I would've thought.. yes I have %1 in the bat for the variable

    and rewriting the .bat is out of the question

    any ideas?

    scriptcontrol doesnt work for dos commands wtfX^ with that
    C:\Code\
    C:\Code\Run\
Working...