Originally posted by namejm at 2007-4-9 08:57 AM:
1、
从你的其他回帖可以看出,兄是编程中人,但是却说出这样的话,未免让人感到意外,试问:在面向对象的高级语言中,如果不提供对象 ...
晕,因为你违反了批处理的一个特性,简单快捷。。
而加参数正是为了这样一个目的而来。。要不然,我还不如直接使用 xcopy来得简单。
加了参数后,我们可以使用
批处理.cmd ……
这样,才能省下工作量。。做批处理的目的是:让工作更加快捷而不是让工作更加麻烦,我才有此话。
最开始,我本准备提议使用.ini文件的。
想一下,我们第一次使用的时候是为好玩。第二次使用的时候是为新鲜感还没有过去。那么我们第n次使用的时候,有什么理由还要如此麻烦自己呢?
所以,我现在只要写的是关于实用一级的批处理,全部都加有参数。
这才有这句话的存在。
Originally posted by namejm at 2007-4-9 08:57 AM:
1、
From your other replies, it can be seen that you are someone involved in programming, but saying such a thing is quite surprising. Let's ask: In an object-oriented high-level language, if you don't provide an object...
Oh, because you violated a characteristic of batch processing, which is simplicity and speed..
And adding parameters is exactly for such a purpose. Otherwise, I might as well use xcopy which is simpler.
After adding parameters, we can use
batch.cmd ……
In this way, the workload can be saved. The purpose of making batch processing is: to make work more efficient instead of more troublesome, which is why I have this statement.
Initially, I originally planned to propose using an.ini file.
Think about it, the first time we use it is for fun. The second time we use it is because the novelty hasn't worn off yet. Then for the nth time we use it, what reason do we have to trouble ourselves like this?
So, now as long as I am writing batch processing at the practical level, I all add parameters.
That's why this statement exists.