View Single Post
Old 01-27-2006, 03:22 AM  
budz
Disruptive Innovator
 
budz's Avatar
 
Industry Role:
Join Date: Sep 2003
Location: Vegas
Posts: 4,230
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\
budz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote