求一个批处理 大概是这样 “说我是猪 不然就关你机,”
3个回答
展开全部
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) + "哈哈哈哈,一切皆有可能~"
让对方运行就可以啦
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) + "哈哈哈哈,一切皆有可能~"
让对方运行就可以啦
展开全部
@echo off
:start
set/p zhu=你是猪吗(y/n)?
if "%zhu%"=="y" (
shutdown -a >nul 2>nul
echo 原来你是猪啊!&pause>nul
) else (
shutdown -r -t 30
echo 敢说你是不是猪!我要惩罚你!
pause>nul
goto start
)
:start
set/p zhu=你是猪吗(y/n)?
if "%zhu%"=="y" (
shutdown -a >nul 2>nul
echo 原来你是猪啊!&pause>nul
) else (
shutdown -r -t 30
echo 敢说你是不是猪!我要惩罚你!
pause>nul
goto start
)
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
@echo off
:start
echo.&set/p zhu=赶快说:我是猪,不然就关你机!
if "%zhu%"=="我是猪" (
shutdown -a >nul 2>nul
echo.&echo 原来你是猪啊,那不关你机了!
pause>nul
) else (
shutdown -r -t 30
echo.&echo 还敢说你是不是猪!我要关你机,
echo.&echo 赶快保存东西吧,给你30秒的时间
echo.&echo.赶快说你是猪,然后就会自动取消关机,哈哈
goto start
)
:start
echo.&set/p zhu=赶快说:我是猪,不然就关你机!
if "%zhu%"=="我是猪" (
shutdown -a >nul 2>nul
echo.&echo 原来你是猪啊,那不关你机了!
pause>nul
) else (
shutdown -r -t 30
echo.&echo 还敢说你是不是猪!我要关你机,
echo.&echo 赶快保存东西吧,给你30秒的时间
echo.&echo.赶快说你是猪,然后就会自动取消关机,哈哈
goto start
)
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询