fly2279 Posted January 21, 2007 Share Posted January 21, 2007 (edited) 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 January 21, 2007 by fly2279 Link to comment Share on other sites More sharing options...
cluberti Posted January 22, 2007 Share Posted January 22, 2007 WBAT is great for that. Link to comment Share on other sites More sharing options...
IcemanND Posted January 22, 2007 Share Posted January 22, 2007 If you don't want another application, get the Extended ASCII table, then you can use ALT+ the 3 digit ASCII code to put the character directly into the batch file yourself. ALT+200 = ╚ALT+201 = ╔ALT+187 = ╗ALT+188 = ╝ Link to comment Share on other sites More sharing options...
fly2279 Posted January 22, 2007 Author Share Posted January 22, 2007 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 More sharing options...
IcemanND Posted January 22, 2007 Share Posted January 22, 2007 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 More sharing options...
fly2279 Posted January 22, 2007 Author Share Posted January 22, 2007 Thanks, got it now... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now