Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 09-22-2000, 10:28 AM   #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.
robo555 is offline   Reply With Quote
Old 09-22-2000, 11:34 AM   #2
SQL nutcase
 
mosquito's Avatar
 
Join Date: Sep 2000
Location: Belgium
Posts: 1,136
Send a message via AIM to mosquito
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
And on the screen it will show up as:


.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

mosquito is offline   Reply With Quote
Old 09-22-2000, 03:45 PM   #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
gibben is offline   Reply With Quote
Old 09-22-2000, 04:17 PM   #4
SQL nutcase
 
mosquito's Avatar
 
Join Date: Sep 2000
Location: Belgium
Posts: 1,136
Send a message via AIM to mosquito
***, Grrr, I spent like 2 days looking for that one, thanks gibben
mosquito is offline   Reply With Quote
Old 09-22-2000, 05:45 PM   #5
bob
Member (12 bit)
Premium Member
 
bob's Avatar
 
Join Date: Mar 1999
Location: LA, CA
Posts: 2,224
You can also echo the char [alt]255 to center text
bob is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:09 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0