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 8663399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:58:40+00:00 2026-06-12T16:58:40+00:00

So, I am currently making a loading screen, and to possibly save some space

  • 0

So, I am currently making a “loading screen”, and to possibly save some space in my coding, I want to know if you could edit a line already outputted. I would have maybe a bracket [] as one stage of loading, so would it be possible to put one bracket, then wait and see if user presses C (for continue) for 1-2 seconds, and if not go to the next stage ([][])? I currently have a script where [] is set as load and for every stage, I do CLS and then echo %LOAD%[].


In addition, what if I just want to do a status update on a line, such as:

Checking status...
Loading server...

and then

Checking status... OK
Loading server... done

Bonus points if you can find me a character like █ that is compatible with Batch.


  • 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-06-12T16:58:41+00:00Added an answer on June 12, 2026 at 4:58 pm

    You can ommit the CLS and recreating the full screen with the help of set /p, as set /p doesn’t output a newline, you can append text.

    Normally set /p is for assigning text to a variable inputted by a user, but if you use redirection from NUL it simply outputs text.

    @echo off
    
    for /L %%n in (1 1 5 ) do (
      <nul set /p ".=[]"
      ping -n 2 localhost > nul
    )
    echo(
    echo The end
    

    The status update you asked for, can be handled the same way, as it only appends something to the line.
    If you want to change parts of the line or the complete line, you need to move the cursor back or to the beginning of the line.
    Both can be done with the backspace character or the carriage return character.

    This is a sample which counts on a fixed screen location

    setlocal EnableDelayedExpansion
    for /f %%a in ('copy /Z "%~dpf0" nul') do set "CR=%%a"
    for /L %%n in (1 1 1000) do (
      <nul set /p ".=%%n!CR!"
    )
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently making an application with Backbone.js and some JQuery libraries. Today I work
Greetz, I am currently having issues managing a Loading screen on my mainViewController (The
I'm currently making a word game for iOS that, when loading, reads in a
Currently making a global volunteer site, and the webpages will more or less have
I'm currently making changes to an older version of my app for customers still
I am currently making a program which is supposed to prompt the user to
I am currently making a program that will send an email if the date
so i am currently making a game (a huge one over 3500 lines of
I'm currently making a filesystem using python-fuse and was looking up where file pointers
I'm currently making a little game with a countdown timer. I use an NSTimer,

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.