DOS批处理命令在Windows下的应用
如题DOS批处理命令在Windows下的应用我要写一篇关于DOS批处理命令在WINDOWS下的应用的论文...
如题DOS批处理命令在Windows下的应用
我要写一篇关于DOS批处理命令在WINDOWS下的应用 的论文 展开
我要写一篇关于DOS批处理命令在WINDOWS下的应用 的论文 展开
6个回答
展开全部
在命令提示符(CMD)下。
Command Prompt (Windows)
From Wikipedia, the free encyclopedia
(Redirected from Cmd.exe)
Jump to: navigation, search
This article needs additional citations for verification.
Please help improve this article by adding reliable references. Unsourced material may be challenged and removed. (July 2007)
Command Prompt
Command Prompt in Windows Vista
Developer Microsoft
OS OS/2, Microsoft Windows
Platform Cross-platform
Natural language(s) Multilingual
Genre Command line interpreter
License Proprietary software
cmd.exe is the command line interpreter on OS/2, Windows CE and on Windows NT-based operating systems (including Windows 2000, XP, Vista, and Server 2003). It is the analog of COMMAND.COM in MS-DOS and Windows 9x systems, or of the Unix shells used on Unix-like systems.
Contents
[hide]
* 1 Versions
* 2 Technical information
* 3 See also
* 4 References
* 5 External links
[edit] Versions
Therese Stowell developed the initial version of cmd.exe for Windows NT.[1] Although some old DOS commands are not supported or have been changed (e.g. the functionality of deltree was rolled into rd in the form of the /s parameter), cmd.exe still has a greater number of built-in commands.
Both the OS/2 and the Windows NT versions of cmd.exe have more detailed error messages than the blanket "Bad command or file name" (in the case of malformed commands) of command.com. In the OS/2 version of cmd.exe, errors are reported in whatever the current language of system is, their text being taken from the system message files. The help command can then be issued with the error message number to obtain further information.
cmd.exe, which remains part of Windows Vista and Windows Server 2008 for backward compatibility, will be supplemented with Windows PowerShell, Microsoft's new extensible command line shell and task-based scripting technology.
[edit] Technical information
Unlike COMMAND.COM, which is a DOS program, cmd.exe is a native program for the platform. This allows it to take advantage of features available to native programs on the platform and not available to DOS programs. For example, since cmd.exe is a native text-mode application on OS/2 it can use real pipes in command pipelines, allowing both sides of the pipeline to run concurrently. As a result, it is possible to redirect the standard error in cmd.exe, unlike COMMAND.COM. (COMMAND.COM uses temporary files, and runs the two sides serially, one after the other.)
Technically, cmd.exe is a Windows program that acts as a DOS-like command line interpreter. It is generally compatible, but provides extensions which address the limitations of COMMAND.COM:
* SETLOCAL/ENDLOCAL commands limit the scope of changes to the environment
* internal CALL and GOTO labels lessen the need for individual batch files to perform parts of a task.
* filename-parsing extensions to the SET command are comparable to C shell.
* an expression-evaluation extensions is also provided in the SET command.
The extensions can be disabled, providing a stricter compatibility mode.
Command Prompt (Windows)
From Wikipedia, the free encyclopedia
(Redirected from Cmd.exe)
Jump to: navigation, search
This article needs additional citations for verification.
Please help improve this article by adding reliable references. Unsourced material may be challenged and removed. (July 2007)
Command Prompt
Command Prompt in Windows Vista
Developer Microsoft
OS OS/2, Microsoft Windows
Platform Cross-platform
Natural language(s) Multilingual
Genre Command line interpreter
License Proprietary software
cmd.exe is the command line interpreter on OS/2, Windows CE and on Windows NT-based operating systems (including Windows 2000, XP, Vista, and Server 2003). It is the analog of COMMAND.COM in MS-DOS and Windows 9x systems, or of the Unix shells used on Unix-like systems.
Contents
[hide]
* 1 Versions
* 2 Technical information
* 3 See also
* 4 References
* 5 External links
[edit] Versions
Therese Stowell developed the initial version of cmd.exe for Windows NT.[1] Although some old DOS commands are not supported or have been changed (e.g. the functionality of deltree was rolled into rd in the form of the /s parameter), cmd.exe still has a greater number of built-in commands.
Both the OS/2 and the Windows NT versions of cmd.exe have more detailed error messages than the blanket "Bad command or file name" (in the case of malformed commands) of command.com. In the OS/2 version of cmd.exe, errors are reported in whatever the current language of system is, their text being taken from the system message files. The help command can then be issued with the error message number to obtain further information.
cmd.exe, which remains part of Windows Vista and Windows Server 2008 for backward compatibility, will be supplemented with Windows PowerShell, Microsoft's new extensible command line shell and task-based scripting technology.
[edit] Technical information
Unlike COMMAND.COM, which is a DOS program, cmd.exe is a native program for the platform. This allows it to take advantage of features available to native programs on the platform and not available to DOS programs. For example, since cmd.exe is a native text-mode application on OS/2 it can use real pipes in command pipelines, allowing both sides of the pipeline to run concurrently. As a result, it is possible to redirect the standard error in cmd.exe, unlike COMMAND.COM. (COMMAND.COM uses temporary files, and runs the two sides serially, one after the other.)
Technically, cmd.exe is a Windows program that acts as a DOS-like command line interpreter. It is generally compatible, but provides extensions which address the limitations of COMMAND.COM:
* SETLOCAL/ENDLOCAL commands limit the scope of changes to the environment
* internal CALL and GOTO labels lessen the need for individual batch files to perform parts of a task.
* filename-parsing extensions to the SET command are comparable to C shell.
* an expression-evaluation extensions is also provided in the SET command.
The extensions can be disabled, providing a stricter compatibility mode.
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
建个文档 然后把要用的命令打进去 在把后缀改成 BAT就行了
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
可以阿
新建记事本
然后把代码写在里面
保存
把记事本的扩展名改成*.bat就能运行了
如果你要的是如何使用这些命令
百度一下吧很多
新建记事本
然后把代码写在里面
保存
把记事本的扩展名改成*.bat就能运行了
如果你要的是如何使用这些命令
百度一下吧很多
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你说的不具体啊~
任何你所可以想到的,批处理都可以做到
万能批处理
配合WMIC可以在命令行模式下管理大型网络
任何你所可以想到的,批处理都可以做到
万能批处理
配合WMIC可以在命令行模式下管理大型网络
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
看自己需要吧,具体的应用的话很难说
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询