为什么"系统找不到指定批次标签"被抛出,即使标签存在? [英] Why "The system cannot find the batch label specified" is thrown even if label exists?

查看:1210
本文介绍了为什么"系统找不到指定批次标签"被抛出,即使标签存在?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在运行Windows XP中的批处理文件,我发现随机存在的错误消息:

While running a batch file in Windows XP I have found randomly occuring error message:

系统无法找到批次标签指定name_of_label

The system cannot find the batch label specified name_of_label

当然标签存在。是什么原因导致这个错误?

Of course label existed. What causes this error?

推荐答案

其实,你需要2个条件,要做到这一点:

Actually, you need 2 conditions for this to happen:


  • 的批处理文件不能使用CRLF行结束

  • 您跳转到必须跨越块边界的标签(而不是和:结束标签至极只是一个快捷方式到脚本的结束)

请参阅。 系统无法找到批次标签指定和<一个href=\"http://www.clausbrod.de/cgi-bin/view.pl/Blog/BlogOnSoftware20060127\">Batch-as-batch-can!

这篇关于为什么&QUOT;系统找不到指定批次标签&QUOT;被抛出,即使标签存在?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆