Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

when i execute batch file on cmd screen the command in the batch appear on the screen example :-

batch file :- @echo off. command1 command2

when i execute it on cmd the following appear on screen :- c:\user > command1 c:\user >command2

i dont to appear anything when i execute batch file

share|improve this question
Remove the dot. – Dennis Williamson Oct 4 '10 at 17:11
up vote 7 down vote accepted

If I understand your question correctly, I think you want to separate commands on individual lines...

@echo off

Is this what you are looking for?

share|improve this answer

Mmmmm....@echo off is what turns off the command echoing. If you want to see your batch file list off your commands as it runs them, don't use @echo off at the start of your script. Also, the @ sign at the start of the line makes just that line not echo. So you could use that to selectively hide the commands you didn't want to see.

--Christopher Karel

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.