PC Review


Reply
 
 
David Trimboli
Guest
Posts: n/a
 
      28th Oct 2003
I'm curious as to why adding a slash after the echo command seems to be
popular around here. Are there any good reasons to use it?

David
Stardate 3823.7


 
Reply With Quote
 
 
 
 
Ray at
Guest
Posts: n/a
 
      28th Oct 2003
Hmm, I've never seen that, and since I don't have an answer, I probably
shouldn't reply. But I have a thought, anyway. It seems that echo/ just
echos a blank line. I've always used echo. to echo a blank line. I wonder
if there's a difference.

Ray at work

"David Trimboli" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm curious as to why adding a slash after the echo command seems to be
> popular around here. Are there any good reasons to use it?
>
> David
> Stardate 3823.7
>
>



 
Reply With Quote
 
David Trimboli
Guest
Posts: n/a
 
      28th Oct 2003
Er, well, I'm not just talking about blank lines. The following three
commands seem to yield identical results:

echo Hello
echo/Hello
echo.Hello

I've seen the second form used a lot on this group, and I was wondering if
there was a particular reason. Is there some situation in which it becomes
important, or is it some issue of readability?

David
Stardate 3823.7

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:(E-Mail Removed)...
> Hmm, I've never seen that, and since I don't have an answer, I probably
> shouldn't reply. But I have a thought, anyway. It seems that echo/ just
> echos a blank line. I've always used echo. to echo a blank line. I

wonder
> if there's a difference.
>
> Ray at work
>
> "David Trimboli" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I'm curious as to why adding a slash after the echo command seems to be
> > popular around here. Are there any good reasons to use it?
> >
> > David
> > Stardate 3823.7



 
Reply With Quote
 
Ritchie
Guest
Posts: n/a
 
      28th Oct 2003
"David Trimboli" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> I'm curious as to why adding a slash after the echo command seems to be
> popular around here. Are there any good reasons to use it?


I can't say I've noticed many people using it, but those that are may have
been swayed by this post:-

Safe Echoing Revisited
http://groups.google.com/groups?threadm=3d46fed0$0$237$(E-Mail Removed)

--
Ritchie, undo for mail


 
Reply With Quote
 
David Trimboli
Guest
Posts: n/a
 
      28th Oct 2003
Thanks, Ritchie! That answers my question perfectly.

David
Stardate 3823.9

"Ritchie" <(E-Mail Removed)> wrote in message
news:bnm38m$132b8o$(E-Mail Removed)...
> "David Trimboli" <(E-Mail Removed)> wrote in message

news:(E-Mail Removed)...
> > I'm curious as to why adding a slash after the echo command seems to be
> > popular around here. Are there any good reasons to use it?

>
> I can't say I've noticed many people using it, but those that are may have
> been swayed by this post:-
>
> Safe Echoing Revisited
>

http://groups.google.com/groups?threadm=3d46fed0$0$237$(E-Mail Removed)
>
> --
> Ritchie, undo for mail



 
Reply With Quote
 
Mark V
Guest
Posts: n/a
 
      28th Oct 2003
In microsoft.public.win2000.cmdprompt.admin Ritchie wrote:

> "David Trimboli" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> I'm curious as to why adding a slash after the echo command seems
>> to be popular around here. Are there any good reasons to use it?

>
> I can't say I've noticed many people using it, but those that are
> may have been swayed by this post:-
>
> Safe Echoing Revisited
> http://groups.google.com/groups?threadm=3d46fed0$0$237$cc9e4d1f@new
> s.dial.pipex.com


Nice research! "/" it is (if I can just remember it ;-) )
 
Reply With Quote
 
Austin M. Horst
Guest
Posts: n/a
 
      8th Nov 2003
ECHO/
ECHO\
ECHO[
ECHO]
ECHO+
ECHO=
ECHO.
ECHO,

All do the same thing.
Use any of the characters to echo 'spaces'

-or-

If you need to echo the word ON" or "OFF"
You must use one of the characters.

Simply typing ECHO ON would turn command echoing on.
Typing ECHO OFF would turn command echoing off.

However,

ECHO. ON outputs the word ON
ECHO. OFF outputs the word OFF

Open the command prompt and try it to see the results.

Austin M. Horst
 
Reply With Quote
 
Ritchie
Guest
Posts: n/a
 
      8th Nov 2003
"Austin M. Horst" <(E-Mail Removed)> wrote in message news:070701c3a5f1$274ffa00$(E-Mail Removed)...
> ECHO. ON outputs the word ON
> ECHO. OFF outputs the word OFF


Your post is at least several years too late <g>

More info see:-
http://groups.google.com/groups?q=ba...n+safe+echoing

--
Ritchie, undo for mail


 
Reply With Quote
 
=?Utf-8?B?QXVzdGluIE0uIEhvcnN0?=
Guest
Posts: n/a
 
      9th Nov 2003
Yes, but apparently people still see & read it.

Austin M. Horst
 
Reply With Quote
 
 
 
Reply

Thread Tools
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 Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NF325-A7 Sound problem: sounds like an echo ,,echo...echo makes me crazy...crazy...crazy...help...help...help David Sontag DIY PC 17 30th Nov 2007 06:45 AM
Echo multiple messages separated by new line thorugh "echo" command Vijay Jain Windows XP General 1 12th Dec 2006 09:11 PM
MMC 9.15 - Echo, echo while viewning TV... andre ATI Video Cards 2 22nd Aug 2006 10:22 PM
applicaton.echo / docmd.echo screen still pulsing - Why? Rick A Microsoft Access Form Coding 1 30th Mar 2006 04:01 AM
Application.Echo or DoCmd.Echo in a Runtime Database =?Utf-8?B?cmJt?= Microsoft Access Form Coding 1 23rd Jan 2004 02:54 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:25 PM.