Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7446415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T12:18:49+00:00 2026-05-29T12:18:49+00:00

As far as I can tell this is perfectly valid batch-file code, just a

  • 0

As far as I can tell this is perfectly valid batch-file code, just a very simple echo command, but everytime I run it, it does nothing – it doesn’t echo the text to any window at all.

@echo off
ECHO Hello World

Anyone have any idea what I’m doing wrong here? It works fine in a CMD window, so my best guess is that maybe a batch file requires a bit more code to get working? Other than that, not a clue.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T12:18:50+00:00Added an answer on May 29, 2026 at 12:18 pm

    Without a PAUSE at the end, the command window (if you run the .bat file directly) will briefly flash and then disappear, because the script finishes running and closes the command window. If you run through Command Prompt, there isn’t the issue, as you’ve mentioned above.

    To mitigate the issue, PAUSE the window once you’ve finished ECHO-ing:

    @echo off
    ECHO Hello World
    PAUSE
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As far as I can tell, this is isn't possible, so I'm really just
As far as I can tell, this code is fine, and should display some
As far as I can tell, the best way to do this is do
As far as I can tell i'm doing everything by the book, but the
As far as I can tell I've followed the instructions perfectly ... and yet
As far as I can tell this only is only broken in Internet Explorer.
This should be really simple, but I can't figure it out. So: how do
Using mootools.js 1.3.2 and mootools-more.js As far as I can tell this is supposed
The below code works as far as I can tell except for the var
As far as I can tell the iPhone multitouch framework sends the location of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.