在写一个python和vbs混编的脚本时发现的
Dim args
Set args = WScript.Arguments
If args.Count = 1 Then
test= WScript.Arguments(0)
else
test="count !=1"
end if
alert test
public sub alert(str)
if str ="" then str="finish"
msgbox str
end sub
在写一个python和vbs混编的脚本时发现的
Dim args
Set args = WScript.Arguments
If args.Count = 1 Then
test= WScript.Arguments(0)
else
test="count !=1"
end if
alert test
public sub alert(str)
if str ="" then str="finish"
msgbox str
end sub