ECHO [-on|-off]
ECHO [message]
-on - Enable echo when executing batch file commands
-off - Disable echo when executing batch file commands
message - Display a message string
Note:
1. Echo -off disables the echo feature when executing batch file commands.
This command is not like the MS-DOS echo command.
2. Echo without a parameter shows the current echo setting.
Examples:
* To display the current echo setting:
fs0:\> echo
Echo is off
* To enable command echoing:
fs0:\> echo -on
* To disable command echoing:
fs0:\> echo -off
* To execute HelloWorld.nsh batch file and echo commands when executing:
fs0:\> HelloWorld.nsh
+HelloWorld.nsh> echo Hello World
Hello World
* To display a message string of 'Hello World':
fs0:\> echo Hello World
Hello World
沒有留言:
張貼留言