学习先进的批处理文件的使用情况最好的免费资源? [英] Best free resource for learning advanced batch-file usage?
问题描述
什么是最好的免费资源,学习先进批处理文件的使用情况?
What are the best free resources for learning advanced batch-file usage?
推荐答案
这不是免费的,但它可能是最好的。 的Windows NT Shell脚本蒂姆·希尔。
It's not free, but it's probably the best. "Windows NT Shell Scripting" by Tim Hill.
这是说,每当我尝试做一些在cmd中的批处理文件'先进',我总是最后后悔了。
That said, whenever I try to do something 'advanced' in cmd batch files, I always end up regretting it.
始终。
编辑:批处理文件的缺点一些解释:
edit: some explanation of the shortcomings of batch files:
- 数学能力是可悲
- 引用的支持是一种事后的想法 - 如果你需要传递带引号的字符串作为参数传递给需要被引用自己的命令,在庇护(实际上,我不知道这是可能的)李留出一个位置>
- 字符串操作是一半实现的功能拼凑
再有,你动不动就碰上怪事,角落的情况下,和不一致的无休止位。
Then there are the seemingly never-ending bits of oddities, corner cases, and inconsistencies that you run into at every turn.
去为批处理文件的唯一一件事是,他们支持的每个Windows盒子在那里。如果你只是要自动执行一些命令为一组,太棒了。也许增加一个简单的循环,一对夫妇的子程序,以及一些环境变量参数化的东西。除此之外,我强烈建议你使用别的东西。
The only thing going for batch files is that they're supported on every Windows box out there. If you just want to automate executing a few commands as a group, great. Maybe add a simple loop, a couple of subroutines, and some environment variables to parameterize things. Beyond that I strongly recommend you use something else.
这篇关于学习先进的批处理文件的使用情况最好的免费资源?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!