IZBORNIK HOME FORUM ACCESS EXCEL WORD  
 

HOME

   
1 UVOD
2 CMD sintaksa i XP naredbeni interpreter
3 Parametri i Prekidači
4 Kretanje pomoću tipki
5 Podešavanje prozora
6 Zamjenski znakovi
7 Editiranje TXTdatoteka
8 Posebni simboli u CMD naredbi
9 BATCH datoteke u CMD
10 HELP u CMD prozoru
11 ERROR u CMD prozoru
 

-- NAREDBE U  CMD-u --

  ASSOC
  AT
  ATTRIB
  BREAK
  CACLS
  CALL
  CD
  CHCP
  CHDIR
  CHKDSK
  CHKNTFS
  CLS
  CLIP
  CMD
  COLOR
  COMP
  COMPACT
  CONVERT
  COPY
  DATE
  DEL
  DIR
  DISKCOMP
  DISKCOPY
  DOSKEY
  ECHO
  ENDLOCAL
  ERASE
  EXIT
  FC
  FIND
  FINDSTR
  FOR
  FORMAT
  FTYPE
  GOTO
  GRAFTABL
  HELP
  IF
  LABEL
  MD
  MKDIR
  MODE
  MORE
  MOVE
  PATH
  PAUSE
  POPD
  PRINT
  PROMPT
  PUSHD
  RD
  RECOVER
  REM
  REN
  RENAME
  REPLACE
  RMDIR
  SET
  SETLOCAL
  SHIFT
  SORT
  START
  SUBST
  TIME
  TITLE
  TREE
  TYPE
  VER
  VERIFY
  VOL
  XCOPY
   
   
12 PING
13 IPCONFIG
14 NETSTAT
15 ROUTE
16 NSLOOKUP
17 ARP
18 TRACERT
19 TELNET
20 NET Commands
   

NAREDBENO SUČELJE (Command Prompt line)

ECHO Search This Web Site

Adsense sponzor



 




ECHO

Turns the command-echoing feature on or off, or displays a message. Used without parameters, echo displays the current echo setting.

Syntax

echo [{on|off}] [message]

Parameters

{on|off}

Specifies whether to turn the command-echoing feature on or off.

message

Specifies text you want to display on the screen.

/?

Displays help at the command prompt.

Remarks

  • The echo message command is useful when echo is turned off. To display a message that is several lines long without displaying other commands, you can include several echo message commands after the echo off command in your batch program.
  • If you use echo off, the command prompt does not appear on your screen. To display the command prompt, type echo on.
  • To prevent echoing of a line, insert an at sign (@) in front of a command in a batch program.
  • To echo a blank line on the screen, type:

echo.

  • To display a pipe (|) or redirection character (< or >) when you are using echo, use a caret character immediately before the pipe or redirection character (for example, ^>, ^<, or ^|). If you need to use the caret character (^), type two (^^).

Examples

The following example is a batch program that includes a three-line message preceded by and then followed by a blank line:

echo off
echo.
echo This batch program
echo formats and checks
echo new disks
echo.

If you want to turn echo off and you do not want to echo the echo command, type an at sign (@) before the command as follows:

@echo off

You can use the if and echo commands on the same command line. For example:

if exist *.rpt echo The report has arrived.

 

 

 

Adsense sponzor



 




Copyright 2009 - IvanC - ic.ims.hr