批处理脚本 [英] Batch Scripting

查看:112
本文介绍了批处理脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我是Windows平台的新手,我需要学习批处理脚本。

Hi everyone, I am new to Windows platform and I am in need to learn Batch Scripting.

有人可以指导我如何从基础学习批处理脚本...

Can someone guide me how to learn Batch Scripting from basics...

对于这个例行帖子感到抱歉...但我需要尽快启动批处理脚本.......

Sorry for this routine post... but I need to start Batch Scripting soon.......

推荐答案

Technet是查找该信息的地方,MSDN更多地是关于应用程序(或服务或驱动程序)编程,而批处理文件通常用于系统管理任务等。

Technet is the place to look for that information, MSDN is more about application (or services or drivers) programming, whereas batch files are usually used for system administration tasks and such.

http://social.technet.microsoft.com/Search/en-US?query=batch

由于某些原因,大多数文章中有关于Windows的过时版本,但在命令行中对于XP的99.9%对于7和Vista都是如此。

For some reason most of the articles there are about outdated versions of Windows, but 99.9 per cent of what's true for XP in the command line is true for 7 and Vista.

http://technet.microsoft.com/en-us/library/bb490869.aspx

在那里你可以找到每个命令的参考,虽然这个是专门为7和Vista(大多数将重合):

There you can find the reference for every command, although this other is specifically for 7 and Vista (most will coincide):

http://technet.microsoft.com/en-us/library/cc772390(WS.10).aspx

其他一些文章,更多教程,虽然更多过时(Windows NT)但很好:

Some other articles, more tutorial, although even more outdated (Windows NT) but good:

http://technet.microsoft.com/en-us/library/cc750054.aspx

http://technet.microsoft.com/en-us/library/cc750056.aspx

所有这些都适用于每个Windows安装中的标准命令,超出此范围,不需要使用通用编程语言(在我看来,这一点并不困难),可以使用PowerShell:

All this is for the standard commands in every Windows installation, to go beyond this, without resorting to a generic programming language (which in my opinion is not any harder at that point), PowerShell can be used:

http://technet.microsoft.com/en-us/library/bb978526.aspx

这是MS的所有脚本网站:

This is MS's website for all things scripted:

http://technet.microsoft.com/en-us/scriptcenter/


这篇关于批处理脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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