-1
关于VB6: 我想使用环境变量调用1个批处理文件,我想下面的代码,但我认为有些事情是缺少为什么它不工作:关于VB6 - 环境变量
代码:
Dim sPathUser As String
sPathUser = Environ$("windir")
MsgBox sPathUser
Shell "sPathUser\test.bat" ---> Here i m calling Batch file
那么,任何人都可以帮我吗?
如果这个问题是关于VB6为什么你用vb.net和vba标记它? – Steve