Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Not only is UNIX dead, it's starting to smell really bad. -- Rob Pike


devel / alt.msdos.batch / Re: Is there an opposite to '@' ?

SubjectAuthor
* Is there an opposite to '@' ?R.Wieser
+* Re: Is there an opposite to '@' ?Kerr-Mudd, John
|`- Re: Is there an opposite to '@' ?R.Wieser
+- Re: Is there an opposite to '@' ?Thomas Langer
`* Re: Is there an opposite to '@' ?Grant Taylor
 `* Re: Is there an opposite to '@' ?R.Wieser
  +- Re: Is there an opposite to '@' ?Kerr-Mudd, John
  `* Re: Is there an opposite to '@' ?Grant Taylor
   `* Re: Is there an opposite to '@' ?R.Wieser
    `* Re: Is there an opposite to '@' ?Fin Tres Nueve Dos
     `- Re: Is there an opposite to '@' ?R.Wieser

1
Is there an opposite to '@' ?

<s6gf70$137v$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=49&group=alt.msdos.batch#49

  copy link   Newsgroups: alt.msdos.batch
Path: i2pn2.org!i2pn.org!aioe.org!wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: alt.msdos.batch
Subject: Is there an opposite to '@' ?
Date: Fri, 30 Apr 2021 10:30:10 +0200
Organization: Aioe.org NNTP Server
Lines: 17
Message-ID: <s6gf70$137v$1@gioia.aioe.org>
NNTP-Posting-Host: wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org
X-Complaints-To: abuse@aioe.org
X-Priority: 3
X-MSMail-Priority: Normal
X-RFC2646: Format=Flowed; Original
X-Notice: Filtered by postfilter v. 0.9.2
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
 by: R.Wieser - Fri, 30 Apr 2021 08:30 UTC

Hello all,

Yesterday I got caught out by a batchfile (which I wrote myself :-) )
changing the current directory - I thought I was still in the old one ...

I decided that I would need to make that 'cd' (its output) visible (I've
used "@echo off" at the top). I can ofcourse do that in a number of ways,
but the cleanest way would be if I could allow the 'cd' command to display
its output.

The question is : is there a prefix that will disable the "echo off" for
that one line / command ?

Regards,
Rudy Wieser

Re: Is there an opposite to '@' ?

<20210430105732.5a480d6f2de0adcba43ab61a@127.0.0.1>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=50&group=alt.msdos.batch#50

  copy link   Newsgroups: alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: admin@127.0.0.1 (Kerr-Mudd, John)
Newsgroups: alt.msdos.batch
Subject: Re: Is there an opposite to '@' ?
Date: Fri, 30 Apr 2021 10:57:32 +0100
Organization: Dis
Lines: 27
Message-ID: <20210430105732.5a480d6f2de0adcba43ab61a@127.0.0.1>
References: <s6gf70$137v$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="47127a64a4b3031ca46a38b6fa2d159e";
logging-data="21334"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19VPJ1KM9igbvSUn84xdH0wXgXCP+5J2VY="
Cancel-Lock: sha1:SrWXQYScsElplumlnxmFhmqqmog=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
X-no-Archive: Maybe
 by: Kerr-Mudd, John - Fri, 30 Apr 2021 09:57 UTC

On Fri, 30 Apr 2021 10:30:10 +0200
"R.Wieser" <address@not.available> wrote:

> Hello all,
>
> Yesterday I got caught out by a batchfile (which I wrote myself :-) )
> changing the current directory - I thought I was still in the old one ...
>
> I decided that I would need to make that 'cd' (its output) visible (I've
> used "@echo off" at the top). I can ofcourse do that in a number of ways,
> but the cleanest way would be if I could allow the 'cd' command to display
> its output.
>
> The question is : is there a prefix that will disable the "echo off" for
> that one line / command ?
>

Not that I know of; as you say there's ways around it; insert a bare line "CD" after the "CD \mydir" is the simplest I can think of.
A more tedious solution is to prefix all lines but the CD one with an @. (Meh!). Then you can add the @ after testing.

I tried "CD \mydir >con" but it didn't (as the CD command output is already suppressed).

--
Bah, and indeed Humbug.

Re: Is there an opposite to '@' ?

<s6gnk3$1bbt$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=51&group=alt.msdos.batch#51

  copy link   Newsgroups: alt.msdos.batch
Path: i2pn2.org!i2pn.org!aioe.org!wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: alt.msdos.batch
Subject: Re: Is there an opposite to '@' ?
Date: Fri, 30 Apr 2021 12:53:38 +0200
Organization: Aioe.org NNTP Server
Lines: 35
Message-ID: <s6gnk3$1bbt$1@gioia.aioe.org>
References: <s6gf70$137v$1@gioia.aioe.org> <20210430105732.5a480d6f2de0adcba43ab61a@127.0.0.1>
NNTP-Posting-Host: wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org
X-Complaints-To: abuse@aioe.org
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-Notice: Filtered by postfilter v. 0.9.2
X-MSMail-Priority: Normal
X-RFC2646: Format=Flowed; Original
X-Priority: 3
 by: R.Wieser - Fri, 30 Apr 2021 10:53 UTC

John,

>> The question is : is there a prefix that will disable the "echo off"
>> for that one line / command ?
>
> Not that I know of;

I could not think of one either.

> as you say there's ways around it; insert a bare line "CD" after
> the "CD \mydir" is the simplest I can think of.

Ehrmm ... It looks like I got caught out more than once :

I somehow was able to bullshit myself and not recognise it : The '@' prefix
will suppress displaying the batch line itself, but certainly not its
output. And that ofcourse means that, as you said, a 'cd' on a line on its
own, prefixed or not, will display the current directory.

Also, when the batchfile ends the/my $P$G prompt will display the current
directory when asking for input.
IOW, I was told, but I simply did not register it. :-(

> A more tedious solution is to [snip]

I also thought of those, inclusive, after having posted my question, the ">
CON" method. It was during testing of it that I recognised what a load of
crap I had been posting (not the question itself, but that I needed it). :-|

Thanks for the response.

Regards,
Rudy Wieser

Re: Is there an opposite to '@' ?

<s6gnkl$v47$1@gwaiyur.mb-net.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=52&group=alt.msdos.batch#52

  copy link   Newsgroups: alt.msdos.batch
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.mb-net.net!open-news-network.org!.POSTED.p5b1023ec.dip0.t-ipconnect.de!not-for-mail
From: spam4nl@langer-online.net (Thomas Langer)
Newsgroups: alt.msdos.batch
Subject: Re: Is there an opposite to '@' ?
Date: Fri, 30 Apr 2021 12:54:12 +0200
Organization: MB-NET.NET for Open-News-Network e.V.
Message-ID: <s6gnkl$v47$1@gwaiyur.mb-net.net>
References: <s6gf70$137v$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 30 Apr 2021 10:54:13 -0000 (UTC)
Injection-Info: gwaiyur.mb-net.net; posting-host="p5b1023ec.dip0.t-ipconnect.de:91.16.35.236";
logging-data="31879"; mail-complaints-to="abuse@open-news-network.org"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.0
Cancel-Lock: sha1:+xHfb87F6tSau8VSz2+Z2BISNHA=
X-User-ID: U2FsdGVkX1/k++CektmBoBDnVQzBFYY+RF2AZ5WFcR+GEbGLQixFpA==
In-Reply-To: <s6gf70$137v$1@gioia.aioe.org>
 by: Thomas Langer - Fri, 30 Apr 2021 10:54 UTC

There is an environment variable %cd% that is automatically getenerated
by os.

try:
echo %cd%

hth
Thomas Langer

Am 30.04.2021 um 10:30 schrieb R.Wieser:
> Hello all,
>
> Yesterday I got caught out by a batchfile (which I wrote myself :-) )
> changing the current directory - I thought I was still in the old one ...
>
> I decided that I would need to make that 'cd' (its output) visible (I've
> used "@echo off" at the top). I can ofcourse do that in a number of ways,
> but the cleanest way would be if I could allow the 'cd' command to display
> its output.
>
> The question is : is there a prefix that will disable the "echo off" for
> that one line / command ?
>
> Regards,
> Rudy Wieser
>
>

Re: Is there an opposite to '@' ?

<s6ha0g$vhm$1@tncsrv09.home.tnetconsulting.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=53&group=alt.msdos.batch#53

  copy link   Newsgroups: alt.msdos.batch
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.alpha.home.tnetconsulting.net!not-for-mail
From: gtaylor@tnetconsulting.net (Grant Taylor)
Newsgroups: alt.msdos.batch
Subject: Re: Is there an opposite to '@' ?
Date: Fri, 30 Apr 2021 10:06:10 -0600
Organization: TNet Consulting
Message-ID: <s6ha0g$vhm$1@tncsrv09.home.tnetconsulting.net>
References: <s6gf70$137v$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 30 Apr 2021 16:07:44 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251";
logging-data="32310"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.9.0
In-Reply-To: <s6gf70$137v$1@gioia.aioe.org>
Content-Language: en-US
 by: Grant Taylor - Fri, 30 Apr 2021 16:06 UTC

On 4/30/21 2:30 AM, R.Wieser wrote:
> Hello all,

Hi,

> Yesterday I got caught out by a batchfile (which I wrote myself :-)
> ) changing the current directory - I thought I was still in the old
> one ...

Oops

> I decided that I would need to make that 'cd' (its output) visible
> (I've used "@echo off" at the top). I can ofcourse do that in a
> number of ways, but the cleanest way would be if I could allow the
> 'cd' command to display its output.

It's been a while since I've done much in DOS, but I don't think that
'@echo off' changes the /output/ generated by commands.

More specifically, '@echo off' is intended to not show the batch file
/input/ while executing. Read: hide the command to be executed, but not
touch the command's output.

> The question is : is there a prefix that will disable the "echo off"
> for that one line / command ?

Yes and no.

'echo on'

E.g.

@echo off
dir
copy foo bat
echo on
cd \test
@echo off
dir

Remember, the '@' prefix is a per command 'echo off'. Meaning that the
'@' and 'echo off' are two completely independent things.

So ... you can turn echo back on for the cd command and then
subsequently turn it off for the rest of the batch file.

Another trick that I use for short batch files (9 or fewer lines) is:

@dir
@copy foo bat
@echo on
cd \test
@dir

Simply use '@' before each command that you want to not see.

The reason I say 'short' batch files is that '@echo off' is 9 bytes.
Meaning that the above batch file uses fewer bytes by prepending '@' to
thel ines than including an additional line that is '@ech off'. You can
do it for as long a batch file as you want. It just becomes a lot less
efficient and more annoying to add '@' to 30 lines instead of a single
'@echo off'. YMMV.

--
Grant. . . .
unix || die

Re: Is there an opposite to '@' ?

<s6hcak$46h$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=54&group=alt.msdos.batch#54

  copy link   Newsgroups: alt.msdos.batch
Path: i2pn2.org!i2pn.org!aioe.org!wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: alt.msdos.batch
Subject: Re: Is there an opposite to '@' ?
Date: Fri, 30 Apr 2021 18:47:04 +0200
Organization: Aioe.org NNTP Server
Lines: 24
Message-ID: <s6hcak$46h$1@gioia.aioe.org>
References: <s6gf70$137v$1@gioia.aioe.org> <s6ha0g$vhm$1@tncsrv09.home.tnetconsulting.net>
NNTP-Posting-Host: wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org
X-Complaints-To: abuse@aioe.org
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-Notice: Filtered by postfilter v. 0.9.2
X-RFC2646: Format=Flowed; Response
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Priority: 3
 by: R.Wieser - Fri, 30 Apr 2021 16:47 UTC

Grant,

>> Yesterday I got caught out by a batchfile (which I wrote myself :-) )
>> changing the current directory - I thought I was still in the old one ...
>
> Oops

Yup. Luckily nothing bad happened. Just had to figure out why I could not
find my files.

> More specifically, '@echo off' is intended to not show the batch file
> /input/ while executing. Read: hide the command to be executed, but not
> touch the command's output.

Yup. But alas, I only realized my blunder /after/ having posted my question
....

In short : the problem I thought I had doesn't exist. It was just me having
some kind of brain-freeze or something. :-|

Regards,
Rudy Wieser

Re: Is there an opposite to '@' ?

<20210430205218.aaa511293f8565fdb00c7e54@127.0.0.1>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=55&group=alt.msdos.batch#55

  copy link   Newsgroups: alt.msdos.batch
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: admin@127.0.0.1 (Kerr-Mudd, John)
Newsgroups: alt.msdos.batch
Subject: Re: Is there an opposite to '@' ?
Date: Fri, 30 Apr 2021 20:52:18 +0100
Organization: Dis
Lines: 28
Message-ID: <20210430205218.aaa511293f8565fdb00c7e54@127.0.0.1>
References: <s6gf70$137v$1@gioia.aioe.org>
<s6ha0g$vhm$1@tncsrv09.home.tnetconsulting.net>
<s6hcak$46h$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="f599454b67d273832772362ec514622c";
logging-data="21140"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+doEWiSnah75feHRJTIuuVQlJprFmbcd4="
Cancel-Lock: sha1:M6ABF9cT5t7q/izVU3J1S9Lq/VY=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
X-no-Archive: Maybe
 by: Kerr-Mudd, John - Fri, 30 Apr 2021 19:52 UTC

On Fri, 30 Apr 2021 18:47:04 +0200
"R.Wieser" <address@not.available> wrote:

> Grant,
>
> >> Yesterday I got caught out by a batchfile (which I wrote myself :-) )
> >> changing the current directory - I thought I was still in the old one ...
> >
> > Oops
>
> Yup. Luckily nothing bad happened. Just had to figure out why I could not
> find my files.
>
> > More specifically, '@echo off' is intended to not show the batch file
> > /input/ while executing. Read: hide the command to be executed, but not
> > touch the command's output.
>
> Yup. But alas, I only realized my blunder /after/ having posted my question
> ...
>
> In short : the problem I thought I had doesn't exist. It was just me having
> some kind of brain-freeze or something. :-|
>
Happens to us all as we get older ISTM!.

--
Bah, and indeed Humbug.

Re: Is there an opposite to '@' ?

<s6i3nv$j56$1@tncsrv09.home.tnetconsulting.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=56&group=alt.msdos.batch#56

  copy link   Newsgroups: alt.msdos.batch
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.alpha.home.tnetconsulting.net!not-for-mail
From: gtaylor@tnetconsulting.net (Grant Taylor)
Newsgroups: alt.msdos.batch
Subject: Re: Is there an opposite to '@' ?
Date: Fri, 30 Apr 2021 17:25:20 -0600
Organization: TNet Consulting
Message-ID: <s6i3nv$j56$1@tncsrv09.home.tnetconsulting.net>
References: <s6gf70$137v$1@gioia.aioe.org>
<s6ha0g$vhm$1@tncsrv09.home.tnetconsulting.net> <s6hcak$46h$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 30 Apr 2021 23:26:55 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251";
logging-data="19622"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.9.0
In-Reply-To: <s6hcak$46h$1@gioia.aioe.org>
Content-Language: en-US
 by: Grant Taylor - Fri, 30 Apr 2021 23:25 UTC

On 4/30/21 10:47 AM, R.Wieser wrote:
> In short : the problem I thought I had doesn't exist. It was just
> me having some kind of brain-freeze or something. :-|

Don't let anybody fool you. That happens. Try to learn from it and
move on.

--
Grant. . . .
unix || die

Re: Is there an opposite to '@' ?

<s6j2o8$luk$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=57&group=alt.msdos.batch#57

  copy link   Newsgroups: alt.msdos.batch
Path: i2pn2.org!i2pn.org!aioe.org!wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: alt.msdos.batch
Subject: Re: Is there an opposite to '@' ?
Date: Sat, 1 May 2021 10:16:05 +0200
Organization: Aioe.org NNTP Server
Lines: 17
Message-ID: <s6j2o8$luk$1@gioia.aioe.org>
References: <s6gf70$137v$1@gioia.aioe.org> <s6ha0g$vhm$1@tncsrv09.home.tnetconsulting.net> <s6hcak$46h$1@gioia.aioe.org> <s6i3nv$j56$1@tncsrv09.home.tnetconsulting.net>
NNTP-Posting-Host: wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org
X-Complaints-To: abuse@aioe.org
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Priority: 3
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-Notice: Filtered by postfilter v. 0.9.2
X-RFC2646: Format=Flowed; Response
X-MSMail-Priority: Normal
 by: R.Wieser - Sat, 1 May 2021 08:16 UTC

Grant,

> Don't let anybody fool you. That happens.

Yup. As shown by yours truly.

> Try to learn from it and move on.

It has taught me that I, the great-and-mighty Rudy Wieser, am not above
making mistakes. :-)

Than again, I can't remember the last time I thought I was ...

Regards,
Rudy Wieser

Re: Is there an opposite to '@' ?

<2304fd11-3f46-4f3b-b98a-fcf5f68ede2en@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=58&group=alt.msdos.batch#58

  copy link   Newsgroups: alt.msdos.batch
X-Received: by 2002:a05:620a:4008:: with SMTP id h8mr13297969qko.366.1619934156042;
Sat, 01 May 2021 22:42:36 -0700 (PDT)
X-Received: by 2002:a05:622a:1449:: with SMTP id v9mr11317577qtx.155.1619934155870;
Sat, 01 May 2021 22:42:35 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.msdos.batch
Date: Sat, 1 May 2021 22:42:35 -0700 (PDT)
In-Reply-To: <s6j2o8$luk$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=81.39.83.162; posting-account=q0M-9QoAAABSRxocdLVRiCyzwDEYGxmv
NNTP-Posting-Host: 81.39.83.162
References: <s6gf70$137v$1@gioia.aioe.org> <s6ha0g$vhm$1@tncsrv09.home.tnetconsulting.net>
<s6hcak$46h$1@gioia.aioe.org> <s6i3nv$j56$1@tncsrv09.home.tnetconsulting.net> <s6j2o8$luk$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2304fd11-3f46-4f3b-b98a-fcf5f68ede2en@googlegroups.com>
Subject: Re: Is there an opposite to '@' ?
From: fin392@gmail.com (Fin Tres Nueve Dos)
Injection-Date: Sun, 02 May 2021 05:42:36 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Fin Tres Nueve Dos - Sun, 2 May 2021 05:42 UTC

El sábado, 1 de mayo de 2021 a las 10:16:11 UTC+2, R.Wieser escribió:
> Grant,
> > Don't let anybody fool you. That happens.
> Yup. As shown by yours truly.
> > Try to learn from it and move on.
> It has taught me that I, the great-and-mighty Rudy Wieser, am not above
> making mistakes. :-)
>
> Than again, I can't remember the last time I thought I was ...
>
> Regards,
> Rudy Wieser

The opposite to '@' is ... not to use '@'.

Instead of:

@ECHO OFF
COMMAND 1...
COMMAND 2...
:: Opposite to @ ???? COMMAND 3...
COMMAND 4...
COMMAND 5...
....

You can write:

@COMMAND 1...
@COMMAND 2...
COMMAND 3...
@COMMAND 4...
@COMMAND 5...

Re: Is there an opposite to '@' ?

<s6lhm5$14s5$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=59&group=alt.msdos.batch#59

  copy link   Newsgroups: alt.msdos.batch
Path: i2pn2.org!i2pn.org!aioe.org!wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org.POSTED!not-for-mail
From: address@not.available (R.Wieser)
Newsgroups: alt.msdos.batch
Subject: Re: Is there an opposite to '@' ?
Date: Sun, 2 May 2021 08:43:09 +0200
Organization: Aioe.org NNTP Server
Lines: 14
Message-ID: <s6lhm5$14s5$1@gioia.aioe.org>
References: <s6gf70$137v$1@gioia.aioe.org> <s6ha0g$vhm$1@tncsrv09.home.tnetconsulting.net> <s6hcak$46h$1@gioia.aioe.org> <s6i3nv$j56$1@tncsrv09.home.tnetconsulting.net> <s6j2o8$luk$1@gioia.aioe.org> <2304fd11-3f46-4f3b-b98a-fcf5f68ede2en@googlegroups.com>
NNTP-Posting-Host: wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org
X-Complaints-To: abuse@aioe.org
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-Priority: 3
X-RFC2646: Format=Flowed; Original
X-Notice: Filtered by postfilter v. 0.9.2
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
 by: R.Wieser - Sun, 2 May 2021 06:43 UTC

Fin,

> The opposite to '@' is ... not to use '@'.

And with "not to use '@' " you actually mean "use it pretty-much
everywhere". :-D

But yes, that was, in my initial message, one of the ways I knew how to do
it. I was hoping for a cleaner, simpler way though.

Regards,
Rudy Wieser

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor