|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (8 bit)
Join Date: Dec 1999
Posts: 193
|
I done a batch file for backing my stuff up, and just for eye candy (if you can call DOS eye candy), I added a few echo commands to tell the user what's happening, my question is, how to I put gaps between the lines?
My batch file goes something like this: @echo off echo Backing up ICQ db copy blah blah echo Back up successful echo Backing up My Docs copy blah blah echo Back up successful And on the screen it shows up as: Backing up ICQ db Back up successful Backing up My Docs Back up successful But I want it to look like: Backing up ICQ db Back up successful Backing up My Docs Back up successful So how to I put a gap between the lines? I tried putting empty echo tags in there and it didn't do anything. |
|
|
|
|
|
#2 |
|
SQL nutcase
|
hehe you can't
What I do is put a . (dot) in front of every line. Code:
@echo off echo .Backing up ICQ db copy blah blah echo .Back up successful echo . echo .Backing up My Docs copy blah blah echo .Back up successful .Backing up ICQ db .Back up successful . .Backing up My Docs .Back up successful Ok, it's not the best you can do, but I can live with it. I heard that you can fake it with a tab, but I haven't seen it working |
|
|
|
|
|
#3 |
|
Member (2 bit)
Join Date: Sep 2000
Posts: 2
|
A simple "echo." (no space between the echo and period) will do what your are asking.
echo Some text echo. echo Some more text |
|
|
|
|
|
#4 |
|
SQL nutcase
|
***, Grrr, I spent like 2 days looking for that one, thanks gibben
|
|
|
|
|
|
#5 |
|
Member (12 bit)
Premium Member
Join Date: Mar 1999
Location: LA, CA
Posts: 2,224
|
You can also echo the char [alt]255 to center text
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|