Regarding VB6 - Environment variable -


regarding vb6 : want call 1 batch file using environment variable, trying following code think thing missing why not working :

code :

dim spathuser string spathuser = environ$("windir") msgbox spathuser shell "spathuser\test.bat"           ---> here m calling batch file 

so, can 1 me out please?

use shell spathuser & "\test.bat"


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -