Best free resource for learning advanced batch-file usage?

后端 未结 6 1152
滥情空心
滥情空心 2020-12-05 06:00

What are the best free resources for learning advanced batch-file usage?

6条回答
  •  有刺的猬
    2020-12-05 06:47

    Stack Overflow maybe?

    https://stackoverflow.com/questions/tagged/batch-file

    What I found to be really helpful was to save all of the built-in cmd.exe help to files. In cmd.exe type "help", that will show you a big list of commands you can get help on, for each of those type "help ", then save the results to appropriately named files. Personally I find it a lot more convenient to read the help info in file form.

    Also, I very much agree with Mike B's proscription against using batch files too much. It's almost always better to use a more robust language than batch for any task that isn't trivial. If your batch file is more than a page long when printed, you will almost certainly live to regret it.

提交回复
热议问题