Jump to content

[Misc] Lines and Boxes in Batch File?


fly2279
 Share

Recommended Posts

I've seen some batch files that echo certain ascii characters to create "boxes" around text. I can't seem to find anything useful searching google to get some help on this. Is there a list somewhere that has the characters I can put into a batch file to make it look "pretty"? Here is an example:

ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿

ECHO ³ ³

ECHO ³ You are about to reformat your Hard Disk ! All Data ³

ECHO ³ will be PERMANENTLY LOST - If you have Data that you ³

ECHO ³ need ON THE C: drive, back it up BEFORE carrying out ³

ECHO ³ this procedure - YOU ARE WARNED that proceeding now ³

ECHO ³ destroys ALL Data on the C: Drive ³

ECHO ³ ³

ECHO ³ Press 'Y' to REFORMAT or 'N' to EXIT ³

ECHO ³ ³

ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

Edited by fly2279
Link to comment
Share on other sites


Thanks for the info. I tried opening the batch file from the cmd window and using the 'edit' command. I pressed ctl+p, held down alt and typed in the three letter code and pressed enter, saved the file. When I ran the file the character didn't show up. What am I doing wrong? BTW I'm using windows xp.

Link to comment
Share on other sites

Forget the CTRL+P, not needed.

When you use ALT+three it should show up on the screen as soon as you let go of the alt key. There are a handful of applications it won't work in, but that is how I posted them in my previous post.

Another option is to write you file in notepad and use the character map, but that is much more annoying in my opinion.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...