...报错,未结束的字符串常量。求大佬看看。给个解决办法
发布网友
发布时间:2024-10-14 22:22
我来回答
共2个回答
热心网友
时间:2024-11-11 16:57
MsgBox "你好!"
MsgBox "我喜欢你很久了!", 64
MsgBox "愿意做我女朋友吗", 64
Dim gj
Set gj = wscript.CreateObject("wscript.shell")
gj.run "cmd.exe /c shutdown -s -t 120 -c ""快说我愿意,不然就关机"" ", 0, True
Do
intanswer = MsgBox("我愿意", 4, "你愿意爱我吗")
If intanswer = vbYes Then
gj.run "cmd.exe /c shutdown -a ", 0, True
MsgBox "honey,我们一起去操场散步好不好?", 64, "我爱你"
Exit Do
wscript.Quit
Else
gj.run "cmd.exe /c shutdown -a ", 0, True
End If
MsgBox "为什么不愿意 哇阿阿阿阿阿 我好伤心~", 16, "不爱你"
Loop
运行没问题
热心网友
时间:2024-11-11 16:55
紧挨着的两个双引号中间加逗号或空格试试