为什么不直接运行它并亲眼看看呢?我将您的脚本保存到一个名为 foo.bat 的批处理文件中,并将其更改为前面Your mom goes to college.
有一个。echo
C:\temp>foo
C:\temp>ECHO It's for my college fund.
It's for my college fund.
C:\temp>CALL :OMGSUB
C:\temp>echo Your mom goes to college.
Your mom goes to college.
C:\temp>GOTO:eof
C:\temp>ECHO *runs away and cries like a little girl*
*runs away and cries like a little girl*
C:\temp>echo Your mom goes to college.
Your mom goes to college.
C:\temp>GOTO:eof
C:\temp>
所以很容易看出,在OMGSUB
调用了之后,
- 转到文件末尾。
- 然后它返回到后面的行
CALL :OMGSUB
并回显“逃跑”行
- 然后它再次呼应了你妈妈的台词
- 然后它转到文件末尾并终止
- 这条线
echo *picks up jewewlry box*
永远都达不到。