我想知第四行怎么錯了,,顯示未結束的字符串常量,,求大神解釋一下
on error resume next
dim WSHshellA
set WSHshellA = wscript.createobject("wscript.shell")
WSHshellA.run "cmd.exe /c shutdown -r -t 60 -c ""說我
很傻,不說我很傻就一分鐘關你機,,不信,,你試試……""
",0 ,true
dim a
do while(a <> "我很傻")
a = inputbox ("說我很傻,就不關機,,快點,,說 ""我很傻""
","說不說","不說",8000,7000)
msgbox chr(13) + chr(13) + chr(13) + a,0,"MsgBox"
loop
msgbox chr(13) + chr(13) + chr(13) + "早說就行了么,,呵
呵,,豬"
dim WSHshell
set WSHshell = wscript.createobject("wscript.shell")
WSHshell.run "cmd.exe /c shutdown -a",0 ,true
msgbox chr(13) + chr(13) + chr(13) + "哈哈哈哈,,真過
癮"
將WSHshellA.run "cmd.exe /c shutdown -r -t 60 -c ""說我很傻,不說我很傻就一分鐘關你機,,不信,你試試……""
改為(即多加一個雙引號)
WSHshellA.run ""cmd.exe /c shutdown -r -t 60 -c ""說我很傻,不說我很傻就一分鐘關你機,,不信,,你試試……"""
相關推薦
便查問答是一款實用的網絡熱門知識問答平臺,專注于分享你不知道的知識,、經驗及生活問題,,在這里所有人都能找到答案歡迎網友參與討論。