Microsoft Visual Studio integrated development environment doesn't run DOS commands, but you can change that fact with a batch file. When IBM introduced PCs, batch files and the original BASIC programming language were among the few ways to write programs. Users became experts at programming DOS commands.
Microsoft Visual Studio集成开发环境不运行DOS命令,但是您可以使用批处理文件更改该事实。 当IBM引入PC时,批处理文件和原始的BASIC编程语言是编写程序的几种方法。 用户成为编程DOS命令的专家。
关于批处理文件 ( About Batch Files )
Batch files might be called scripts or macros in another context. They're just text files filled with DOS commands. For example:
批处理文件在另一个上下文中可能称为脚本或宏。 它们只是充满DOS命令的文本文件。 例如:
@ECHO off
ECHO Hello About Visual Basic!
@ECHO on
- The "@" suppresses the display of the current statement to the console. So, the command "ECHO off" is not displayed. “ @”禁止向控制台显示当前语句。 因此,不会显示命令“ ECHO off”。
- "ECHO off" and "ECHO on" toggles whether statements are displayed. So, after "ECHO off," statements are not displayed. “关闭ECHO”和“打开ECHO”可切换是否显示语句。 因此,在“ ECHO off”之后,不会显示语句。
- "ECHO Hello About Visual Basic!" displays the text "Hello About Visual Basic!" “关于Visual Basic,您好! 显示文本“ Hello About Visual Basic!”。
- "@ECHO on" switches the ECHO function back on so anything following is displayed. “ @ECHO on”将重新打开ECHO功能,以便显示以下内容。
All of this was just to ensure that the only thing you actually see in