Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

core error - bus dumped


computers / alt.internet.wireless / Re: Edit the manpage for a Windows /? command example

SubjectAuthor
* Edit the manpage for a Windows /? command exampleMichael
+* Re: Edit the manpage for a Windows /? command exampleAndy Burns
|+- Re: Edit the manpage for a Windows /? command exampleFiz 555
|+* Re: Edit the manpage for a Windows /? command examplePaul
||`- Re: Edit the manpage for a Windows /? command exampleCommander Kinsey
|`* Re: Edit the manpage for a Windows /? command examplegtr
| `* Re: Edit the manpage for a Windows /? command exampleAndy Burns
|  `- Re: Edit the manpage for a Windows /? command examplegtr
+* Re: Edit the manpage for a Windows /? command exampleVanguardLH
|`* Re: Edit the manpage for a Windows /? command exampleMichael
| `- Re: Edit the manpage for a Windows /? command exampleVanguardLH
+- Re: Edit the manpage for a Windows /? command exampleChar Jackson
+* Re: Edit the manpage for a Windows /? command exampleZaidy036
|`* Re: Edit the manpage for a Windows /? command exampleCarlos E.R.
| `- Re: Edit the manpage for a Windows /? command exampleStan Brown
`- Re: Edit the manpage for a Windows /? command exampleFreethinker

1
Edit the manpage for a Windows /? command example

<tuvchj$5gc$1@nnrp.usenet.blueworldhosting.com>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=515&group=alt.internet.wireless#515

 copy link   Newsgroups: alt.comp.os.windows-10 alt.comp.os.windows-11 alt.internet.wireless
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: michael@spamcop.com (Michael)
Newsgroups: alt.comp.os.windows-10,alt.comp.os.windows-11,alt.internet.wireless
Subject: Edit the manpage for a Windows /? command example
Date: Thu, 16 Mar 2023 09:28:02 -0600
Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
Message-ID: <tuvchj$5gc$1@nnrp.usenet.blueworldhosting.com>
Injection-Date: Thu, 16 Mar 2023 15:27:48 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com;
logging-data="5644"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
Cancel-Lock: sha1:4OQNRpsrUwsAv7VylA9z1Fps+lE= sha256:kzdSwp0ffvQz00lOnMrzlSPk4CFtIOm+wFkx7l1lX0Q=
sha1:bJ0jmzGPPUdqFjkShLfmJxfamrA= sha256:HhnWv1TVkSf+mCVaU3ZfTf3ft0GIzwk0RG1L9MrvsHc=
X-Face: f.J8qnmRe<;"4)7zy{Go(8&lzd02x&@O58vucE*DVlNh5,hE"i9}]a0r__<N!-IzKgndSA, p=pKnv@Z%qG:L*AFis_SL$l~NO!c_k10fHmF!:%Z)s
 by: Michael - Thu, 16 Mar 2023 15:28 UTC

How can I edit the manpage for the Windows netsh command.

Since the beginning of wireless networking I've never been able to remember
the syntax for the netsh command, and worse, it's always needed when I am
off the network so I can't even look it up on my laptop when I need it.

The command to get the name of the Ethernet NIC is easy enough to remember.
ipconfig | findstr "Ethernet adaptor"

But then it gets a bit more complicated when you ask for more information.
netsh interface ipv4 show config "eth0"

But it's really hard to remember the syntax to set the subnet & gateway.
netsh interface ipv4 set address name="eth0" static 192.168.0.2 255.255.255.0 192.168.0.1

Worse, "/?" help doesn't really help (try it & let me know if it does).
So is there a way for me to ADD that example into the "netsh /?" results?
--
[I filter out Google Groups posts so if I don't reply, that may be why.]

Re: Edit the manpage for a Windows /? command example

<k7gr63Fd1i3U1@mid.individual.net>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=516&group=alt.internet.wireless#516

 copy link   Newsgroups: alt.comp.os.windows-10 alt.comp.os.windows-11 alt.internet.wireless
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news-peer.in.tum.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@andyburns.uk (Andy Burns)
Newsgroups: alt.comp.os.windows-10,alt.comp.os.windows-11,alt.internet.wireless
Subject: Re: Edit the manpage for a Windows /? command example
Date: Thu, 16 Mar 2023 15:33:24 +0000
Lines: 6
Message-ID: <k7gr63Fd1i3U1@mid.individual.net>
References: <tuvchj$5gc$1@nnrp.usenet.blueworldhosting.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net Byv9ZqFTDH3xBRpHZDUubwHAksSbUZnzLDGTJ0o3KK7lDSDnuQ
Cancel-Lock: sha1:YahDOVVSB/OsWqBNsqMqL/AIfSg=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Content-Language: en-GB
In-Reply-To: <tuvchj$5gc$1@nnrp.usenet.blueworldhosting.com>
 by: Andy Burns - Thu, 16 Mar 2023 15:33 UTC

Michael wrote:

> is there a way for me to ADD that example into the "netsh /?" results?

Not really, just use notepad to create your own, err, notes.

Re: Edit the manpage for a Windows /? command example

<0bfe887c-1204-4de1-8f24-f4505c589ea4n@googlegroups.com>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=517&group=alt.internet.wireless#517

 copy link   Newsgroups: alt.internet.wireless
X-Received: by 2002:a05:6214:912:b0:56e:933e:5796 with SMTP id dj18-20020a056214091200b0056e933e5796mr4955018qvb.1.1678984211467;
Thu, 16 Mar 2023 09:30:11 -0700 (PDT)
X-Received: by 2002:a81:ac60:0:b0:52e:cacb:d7c4 with SMTP id
z32-20020a81ac60000000b0052ecacbd7c4mr2535956ywj.5.1678984211069; Thu, 16 Mar
2023 09:30:11 -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.internet.wireless
Date: Thu, 16 Mar 2023 09:30:10 -0700 (PDT)
In-Reply-To: <k7gr63Fd1i3U1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:16a2:f1a2:6b00:ed90:564e:10a9:6cbb;
posting-account=6hri3woAAACr4NYVJILNylZROM7zOT-2
NNTP-Posting-Host: 2001:16a2:f1a2:6b00:ed90:564e:10a9:6cbb
References: <tuvchj$5gc$1@nnrp.usenet.blueworldhosting.com> <k7gr63Fd1i3U1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0bfe887c-1204-4de1-8f24-f4505c589ea4n@googlegroups.com>
Subject: Re: Edit the manpage for a Windows /? command example
From: barashid.fo.backup@gmail.com (Fiz 555)
Injection-Date: Thu, 16 Mar 2023 16:30:11 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Fiz 555 - Thu, 16 Mar 2023 16:30 UTC

في Thursday, March 16, 2023 في تمام الساعة 6:33:27 PM UTC+3، كتب Andy Burns رسالة نصها:
> Michael wrote:
>
> > is there a way for me to ADD that example into the "netsh /?" results?
> Not really, just use notepad to create your own, err, notes.

heeey...what the fuckk u all old shit doing in my emails.

will somethin to everyone will make all of dusappear

Re: Edit the manpage for a Windows /? command example

<tuvhm8$1gcdr$1@dont-email.me>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=518&group=alt.internet.wireless#518

 copy link   Newsgroups: alt.comp.os.windows-10 alt.comp.os.windows-11 alt.internet.wireless
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: alt.comp.os.windows-10,alt.comp.os.windows-11,alt.internet.wireless
Subject: Re: Edit the manpage for a Windows /? command example
Date: Thu, 16 Mar 2023 12:55:36 -0400
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <tuvhm8$1gcdr$1@dont-email.me>
References: <tuvchj$5gc$1@nnrp.usenet.blueworldhosting.com>
<k7gr63Fd1i3U1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 16 Mar 2023 16:55:36 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="2f5d7ea8723f2cd18f0a990c6ca7c4a7";
logging-data="1585595"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19hFEndAN70r8MJ2UPggeweS4MLDk35TNM="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:EA6z67pTWxikH80rSYtpQHuygEg=
Content-Language: en-US
In-Reply-To: <k7gr63Fd1i3U1@mid.individual.net>
 by: Paul - Thu, 16 Mar 2023 16:55 UTC

On 3/16/2023 11:33 AM, Andy Burns wrote:
> Michael wrote:
>
>> is there a way for me to ADD that example into the "netsh /?" results?
>
> Not really, just use notepad to create your own, err, notes.
>

If there was a way to edit an executable,
Windows Update would only replace it and
your notes would be lost :-)

Paul

Re: Edit the manpage for a Windows /? command example

<44g5dcvrxh79.dlg@v.nguard.lh>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=519&group=alt.internet.wireless#519

 copy link   Newsgroups: alt.comp.os.windows-10 alt.comp.os.windows-11 alt.internet.wireless
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news-peer.in.tum.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: V@nguard.LH (VanguardLH)
Newsgroups: alt.comp.os.windows-10,alt.comp.os.windows-11,alt.internet.wireless
Subject: Re: Edit the manpage for a Windows /? command example
Date: Thu, 16 Mar 2023 12:51:57 -0500
Lines: 39
Message-ID: <44g5dcvrxh79.dlg@v.nguard.lh>
References: <tuvchj$5gc$1@nnrp.usenet.blueworldhosting.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net r/FdEO/0MzkY5mABMoy4FAYWKHkelv+835wkq114AKuY7LGW1k
Cancel-Lock: sha1:laz50y92KzbpY++i/fzqy8cS91E=
User-Agent: 40tude_Dialog/2.0.15.41
 by: VanguardLH - Thu, 16 Mar 2023 17:51 UTC

Michael <michael@spamcop.com> wrote:

> How can I edit the manpage for the Windows netsh command.
>
> Since the beginning of wireless networking I've never been able to remember
> the syntax for the netsh command, and worse, it's always needed when I am
> off the network so I can't even look it up on my laptop when I need it.
>
> The command to get the name of the Ethernet NIC is easy enough to remember.
> ipconfig | findstr "Ethernet adaptor"
>
> But then it gets a bit more complicated when you ask for more information.
> netsh interface ipv4 show config "eth0"
>
> But it's really hard to remember the syntax to set the subnet & gateway.
> netsh interface ipv4 set address name="eth0" static 192.168.0.2 255.255.255.0 192.168.0.1
>
> Worse, "/?" help doesn't really help (try it & let me know if it does).
> So is there a way for me to ADD that example into the "netsh /?" results?

netsh, as with many tools, gives you only top-level help if you use
"<prog> /?". You have to drill down to get to a directive or even
sub-directive to add /? to get help on the [sub]-directive, like:

netsh /?
netsh interface /?
then
netsh interface ipv4 /?
then
netsh interface ipv4 set /?
then
netsh interface ipv4 set address /?

You could start at the end if you know all the args you want to specify,
but I usually have to drill down through the help levels.

There are no man pages in Windows like there is in Linux. Help is built
into the program. There is the 'help' command, but that just lists some
DOS-mode programs.

Re: Edit the manpage for a Windows /? command example

<6as61i97p5q5dtrnqreoume11fp6j0l760@4ax.com>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=520&group=alt.internet.wireless#520

 copy link   Newsgroups: alt.comp.os.windows-10 alt.comp.os.windows-11 alt.internet.wireless
Path: i2pn2.org!i2pn.org!news.uzoreto.com!peer03.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx44.iad.POSTED!not-for-mail
From: none@none.invalid (Char Jackson)
Newsgroups: alt.comp.os.windows-10,alt.comp.os.windows-11,alt.internet.wireless
Subject: Re: Edit the manpage for a Windows /? command example
Message-ID: <6as61i97p5q5dtrnqreoume11fp6j0l760@4ax.com>
References: <tuvchj$5gc$1@nnrp.usenet.blueworldhosting.com>
X-Newsreader: Forte Agent 6.00/32.1186
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 13
X-Complaints-To: abuse(at)newshosting.com
NNTP-Posting-Date: Thu, 16 Mar 2023 19:44:49 UTC
Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com
Date: Thu, 16 Mar 2023 14:44:49 -0500
X-Received-Bytes: 1442
 by: Char Jackson - Thu, 16 Mar 2023 19:44 UTC

On Thu, 16 Mar 2023 09:28:02 -0600, Michael <michael@spamcop.com> wrote:

>Since the beginning of wireless networking I've never been able to remember
>the syntax for the netsh command, and worse, it's always needed when I am
>off the network so I can't even look it up on my laptop when I need it.
>
>...
>But it's really hard to remember the syntax to set the subnet & gateway.
>netsh interface ipv4 set address name="eth0" static 192.168.0.2 255.255.255.0 192.168.0.1

I know it's not what you asked, but if you really get in a bind you can
probably just use the GUI for doing all of that. No syntax to remember.

Re: Edit the manpage for a Windows /? command example

<tuvrtj$1gtug$1@dont-email.me>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=521&group=alt.internet.wireless#521

 copy link   Newsgroups: alt.comp.os.windows-10 alt.comp.os.windows-11 alt.internet.wireless
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Zaidy036@air.isp.spam (Zaidy036)
Newsgroups: alt.comp.os.windows-10,alt.comp.os.windows-11,alt.internet.wireless
Subject: Re: Edit the manpage for a Windows /? command example
Date: Thu, 16 Mar 2023 15:50:11 -0400
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <tuvrtj$1gtug$1@dont-email.me>
References: <tuvchj$5gc$1@nnrp.usenet.blueworldhosting.com>
Reply-To: Zaidy036@air.isp.spam
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 16 Mar 2023 19:50:11 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="7eefe2135ae22dc7de32100928fe95d3";
logging-data="1603536"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19oh1wDA4kmq63rgBCoJRWs88DUTAzH6NM="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:Om0JMgJp+0mH5cFfnRrGLyCFbSc=
In-Reply-To: <tuvchj$5gc$1@nnrp.usenet.blueworldhosting.com>
Content-Language: en-US
 by: Zaidy036 - Thu, 16 Mar 2023 19:50 UTC

On 3/16/2023 11:28 AM, Michael wrote:
> How can I edit the manpage for the Windows netsh command.
>
> Since the beginning of wireless networking I've never been able to remember
> the syntax for the netsh command, and worse, it's always needed when I am
> off the network so I can't even look it up on my laptop when I need it.
>
> The command to get the name of the Ethernet NIC is easy enough to remember.
> ipconfig | findstr "Ethernet adaptor"
>
> But then it gets a bit more complicated when you ask for more information.
> netsh interface ipv4 show config "eth0"
>
> But it's really hard to remember the syntax to set the subnet & gateway.
> netsh interface ipv4 set address name="eth0" static 192.168.0.2 255.255.255.0 192.168.0.1
>
> Worse, "/?" help doesn't really help (try it & let me know if it does).
> So is there a way for me to ADD that example into the "netsh /?" results?
take a screen pic and save it

Re: Edit the manpage for a Windows /? command example

<tv0f0t$1lbgj$1@dont-email.me>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=522&group=alt.internet.wireless#522

 copy link   Newsgroups: alt.comp.os.windows-10 alt.comp.os.windows-11 alt.internet.wireless
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: xxx@yyy.zzz (gtr)
Newsgroups: alt.comp.os.windows-10,alt.comp.os.windows-11,alt.internet.wireless
Subject: Re: Edit the manpage for a Windows /? command example
Date: Thu, 16 Mar 2023 18:16:28 -0700
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <tv0f0t$1lbgj$1@dont-email.me>
References: <tuvchj$5gc$1@nnrp.usenet.blueworldhosting.com> <k7gr63Fd1i3U1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 17 Mar 2023 01:16:14 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="a1095b94c6017bd12f88c31bc7944d17";
logging-data="1748499"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19KmQvDGcpDS59dPSOXa7LZfgBsDXj43pk="
User-Agent: Unison/2.1.10
Cancel-Lock: sha1://cGY5NH145ZdsKb6qOSVlhiYzg=
 by: gtr - Fri, 17 Mar 2023 01:16 UTC

On 2023-03-16 08:33:24 +0000, Andy Burns said:

>> is there a way for me to ADD that example into the "netsh /?" results?
>
> Not really, just use notepad to create your own, err, notes.

netsh interface portproxy add v4tov4 listenport=xxx
listenaddress=192.168.xx.xx connectaddress=192.168.yy.yy connectport=yyy

Because the lanmanserver service starts early and binds to 445 on all
interfaces, you may need to install a virtual kernel NIC driver in order
to get an interface with a "spare" IP address to listen on, it was
available from MS last time I needed it on Win7, not sure about Win10.

Re: Edit the manpage for a Windows /? command example

<k7igkgFkv9dU1@mid.individual.net>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=523&group=alt.internet.wireless#523

 copy link   Newsgroups: alt.comp.os.windows-10 alt.comp.os.windows-11 alt.internet.wireless
Path: i2pn2.org!i2pn.org!news.neodome.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@andyburns.uk (Andy Burns)
Newsgroups: alt.comp.os.windows-10,alt.comp.os.windows-11,alt.internet.wireless
Subject: Re: Edit the manpage for a Windows /? command example
Date: Fri, 17 Mar 2023 06:45:35 +0000
Lines: 17
Message-ID: <k7igkgFkv9dU1@mid.individual.net>
References: <tuvchj$5gc$1@nnrp.usenet.blueworldhosting.com>
<k7gr63Fd1i3U1@mid.individual.net> <tv0f0t$1lbgj$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net WMSk78RWImrktRh7aFczyweu2gXLaZZyJlJX5yPz8UUvrECEdA
Cancel-Lock: sha1:uzMw8X1I/Z8iWyrv0MjTEwGOLlM=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Content-Language: en-GB
In-Reply-To: <tv0f0t$1lbgj$1@dont-email.me>
 by: Andy Burns - Fri, 17 Mar 2023 06:45 UTC

gtr wrote:

> Andy Burns said:
>
>>> is there a way for me to ADD that example into the "netsh /?" results?
>>
>> Not really, just use notepad to create your own, err, notes.
>
> netsh interface portproxy add v4tov4 listenport=xxx
> listenaddress=192.168.xx.xx connectaddress=192.168.yy.yy connectport=yyy
>
> Because the lanmanserver service starts early and binds to 445 on all
> interfaces, you may need to install a virtual kernel NIC driver in order
> to get an interface with a "spare" IP address to listen on, it was
> available from MS last time I needed it on Win7, not sure about Win10.

It's even better when other people remember your notes for you ;-)

Re: Edit the manpage for a Windows /? command example

<tv1oen$1vc5s$1@dont-email.me>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=524&group=alt.internet.wireless#524

 copy link   Newsgroups: alt.comp.os.windows-10 alt.comp.os.windows-11 alt.internet.wireless
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: xxx@yyy.zzz (gtr)
Newsgroups: alt.comp.os.windows-10,alt.comp.os.windows-11,alt.internet.wireless
Subject: Re: Edit the manpage for a Windows /? command example
Date: Fri, 17 Mar 2023 06:03:35 -0700
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <tv1oen$1vc5s$1@dont-email.me>
References: <tuvchj$5gc$1@nnrp.usenet.blueworldhosting.com> <k7gr63Fd1i3U1@mid.individual.net> <tv0f0t$1lbgj$1@dont-email.me> <k7igkgFkv9dU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 17 Mar 2023 13:03:20 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="a1095b94c6017bd12f88c31bc7944d17";
logging-data="2076860"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18lQBtVjsl/e0Gsqc+sPuukD1C8rjPSWE0="
User-Agent: Unison/2.1.10
Cancel-Lock: sha1:w/G8m3zVQ5da+d81gbV6uUdMsyA=
 by: gtr - Fri, 17 Mar 2023 13:03 UTC

On 2023-03-17 02:45:35 +0000, Andy Burns said:

> It's even better when other people remember your notes for you ;-)

:-> Did you recognize it instantly or did it take a while?

For years since you said that, those are now "my" netsh notes too!

For the benefit of the lurkers, those are Andy's exact words from
a few years ago, where I had copypasted them into _my_ netsh notes.

netsh interface portproxy add v4tov4 listenport=xxx
listenaddress=192.168.xx.xx connectaddress=192.168.yy.yy connectport=yyy

The topic at the time was a workaround to allow Windows SMB servers
to communicate with Android SMB client where there is a port mismatch.

A catch22 arose that the Windows SMB server required specific ports (I
think 445 but the actual port isn't the problem - the fact that the port is
below 1024 is the problem). Windows is incapable of using any other port.

Then you have non-rooted Android, which is incapable of allowing an app to
use any port below 1024.

Andy's netsh notes were to make Windows SMB "think" port 445 was a port
higher than 445, for example, 1445, although I never got it to work.

If it ever did work, it would be a great bonus for Windows and Android
users because then the non-rooted Android SMB client could work on port
1445 while the Windows SMB server would think port 1445 is port 445.

Did you ever get the syntax down perfectly?
I never got it to work.

Re: Edit the manpage for a Windows /? command example

<tv2v9p$1aq2$1@nnrp.usenet.blueworldhosting.com>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=525&group=alt.internet.wireless#525

 copy link   Newsgroups: alt.comp.os.windows-10 alt.comp.os.windows-11 alt.internet.wireless
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: michael@spamcop.com (Michael)
Newsgroups: alt.comp.os.windows-10,alt.comp.os.windows-11,alt.internet.wireless
Subject: Re: Edit the manpage for a Windows /? command example
Date: Fri, 17 Mar 2023 18:06:33 -0600
Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
Message-ID: <tv2v9p$1aq2$1@nnrp.usenet.blueworldhosting.com>
References: <tuvchj$5gc$1@nnrp.usenet.blueworldhosting.com> <44g5dcvrxh79.dlg@v.nguard.lh>
Injection-Date: Sat, 18 Mar 2023 00:06:18 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com;
logging-data="43842"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
Cancel-Lock: sha1:S7dAFACBVtTrZZyOk5VuhqtgnOA= sha256:npBF/22e9wB5GwkIg769EUQ5+w6jky5JaXIWnMGGexg=
sha1:bSBb+BSe6qANgaPvRUwh5UDCzh4= sha256:1KpzRDfUL8qP5p3Js9tXmCztLv4oL8eqql8CL95aJM8=
X-Face: f.J8qnmRe<;"4)7zy{Go(8&lzd02x&@O58vucE*DVlNh5,hE"i9}]a0r__<N!-IzKgndSA, p=pKnv@Z%qG:L*AFis_SL$l~NO!c_k10fHmF!:%Z)s
 by: Michael - Sat, 18 Mar 2023 00:06 UTC

On Thu, 16 Mar 2023 12:51:57 -0500, VanguardLH wrote:

> netsh, as with many tools, gives you only top-level help if you use
> "<prog> /?". You have to drill down to get to a directive or even
> sub-directive to add /? to get help on the [sub]-directive, like:
>
> netsh /?
> netsh interface /?
> then
> netsh interface ipv4 /?
> then
> netsh interface ipv4 set /?
> then
> netsh interface ipv4 set address /?
>
> You could start at the end if you know all the args you want to specify,
> but I usually have to drill down through the help levels.
>
> There are no man pages in Windows like there is in Linux. Help is built
> into the program. There is the 'help' command, but that just lists some
> DOS-mode programs.

I tried that, using a logical sequence, and also got stuck at a different
point of the tree but it didn't seem that it would ever work logically.

netsh /?
... interface - Changes to the 'netsh interface' context ...

netsh interface /?
... ipv4 - Changes to the 'netsh interface ipv4' context.

netsh interface ipv4 /?
... set interface - Sets interface parameters. ...

netsh interface ipv4 set interface /?
set interface [interface=]<string> [[forwarding=]enabled|disabled]
[[advertise=]enabled|disabled] [[mtu=]<integer>]
[[siteprefixlength=]<integer>]
[[nud=]enabled|disabled] [[basereachabletime=]<integer>]
[[retransmittime=]<integer>] [[dadtransmits=]<integer>]
[[routerdiscovery=]enabled|disabled|dhcp]
[[managedaddress=]enabled|disabled]
[[otherstateful=]enabled|disabled]
[[weakhostsend=]enabled|disabled]
[[weakhostreceive=]enabled|disabled]
[[ignoredefaultroutes=]enabled|disabled]
[[advertisedrouterlifetime=]<0-65535>]
[[advertisedefaultroute=]enabled|disabled]
[[currenthoplimit=]<0-255>] [[store=]active|persistent]
[[forcearpndwolpattern=]enabled|disabled]
[[enabledirectedmacwolpattern=]enabled|disabled]
[[ecncapability=]ecndisabled|ect1|ect0|application]
[[rabaseddnsconfig=]enabled|disabled]
[[dhcpstaticipcoexistence=]enabled|disabled]

From there I got lost... sorry.
--
[I filter out Google Groups posts so if I don't reply, that may be why.]

Re: Edit the manpage for a Windows /? command example

<tv32hk$26uav$1@dont-email.me>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=526&group=alt.internet.wireless#526

 copy link   Newsgroups: alt.comp.os.windows-10 alt.comp.microsoft.windows alt.internet.wireless
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: freethinker@mymail.com (Freethinker)
Newsgroups: alt.comp.os.windows-10,alt.comp.microsoft.windows,alt.internet.wireless
Subject: Re: Edit the manpage for a Windows /? command example
Date: Sat, 18 Mar 2023 03:01:56 +0200
Organization: A noiseless patient Spider
Lines: 141
Message-ID: <tv32hk$26uav$1@dont-email.me>
References: <tuvchj$5gc$1@nnrp.usenet.blueworldhosting.com> <tv1r02$1vs6n$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 18 Mar 2023 01:01:41 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="59d44f86a07b996b4426f86d2a2ad1f5";
logging-data="2324831"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX193NAcGBHZW0qoRv6LOtJud"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0
Cancel-Lock: sha1:JDUWdXY2ZcPALVCRTV7BJDUiRXs=
Content-Language: de-DE
 by: Freethinker - Sat, 18 Mar 2023 01:01 UTC

On 17.03.23 09:46, Herbert Kleebauer wrote:
> On 16.03.2023 16:28, Michael wrote:
>
>> Worse, "/?" help doesn't really help (try it & let me know if it does).
>> So is there a way for me to ADD that example into the "netsh /?" results?
>
> Create you own help file for things you want to know
> but always forget. For example, create a batch file
> with the name "helpme.bat" in a director which is in
> your %path% with a content like this:
>
> @echo off
> set topic=netsh dir copy
> set topic=%topic% move type
> set topic=%topic% mkdir
> echo.
>
> for %%i in (%topic%) do if [%%i]==[%1] goto :%%i
>
> echo help is available for:
> echo %topic%
> echo.
> goto :eof
>
>:netsh
> echo netsh interface ipv4 set address name="eth0" static 192.168.0.2 255.255.255.0 192.168.0.1
> echo.
> goto :eof
>
> :dir
> echo anything
> echo you want to
> echo know about
> echo dir
> echo.
> goto :eof
>
>:copy
> echo anything
> echo you want to
> echo know about
> echo copy
> echo.
> goto :eof
>
>:move
> echo anything
> echo you want to
> echo know about
> echo move
> echo.
> goto :eof
>
>:type
> echo anything
> echo you want to
> echo know about
> echo type
> echo.
> goto :eof
>
>:mkdir
> echo anything
> echo you want to
> echo know about
> echo mkdir
> echo.
> goto :eof

On 17.03.23 09:46, Herbert Kleebauer wrote:
>> Worse, "/?" help doesn't really help (try it & let me know if it does).
>> So is there a way for me to ADD that example into the "netsh /?" results?
>
> Create you own help file for things you want to know
> but always forget. For example, create a batch file
> with the name "helpme.bat" in a director which is in
> your %path% with a content like this:

I don't know about the op but I, for one, _love_ this workaround!

Thank you for this elegant idea which will last me for years
and many computers because it's so elegant and easy to maintain.

I called your code manpage.bat because I've learned the names
have to be easily remembered, and coming from Linux, that's
the first thing that comes to mind as the proper name for it.

You want all the added commands to be easily remembered even
if you don't use them in a year or two or five or ten.

In a command window at the location of the batch file, I typed:
manpage
Which said:
help is available for:
netsh dir copy move type mkdir
I typed:
manpage netsh
It reported:
netsh interface ipv4 set address name="eth0" static 192.168.0.2 255.255.255.0 192.168.0.1
I typed:
manpage dir
It reported:
anything
you want to
know about
dir
I typed:
manpage foo
It reported:
help is available for:
netsh dir copy move type mkdir

I don't like sticking things into my $PATH so I added it to the AppPaths.
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\manpage.exe
@default=c:\path\manpage.bat
So that "Win+R" & then "manpage" would get the results over the years.
https://learn.microsoft.com/en-us/windows/win32/shell/app-registration

But it only flashed when I did that, even when I linked to a shortcut:
@default=c:\path\manpage.lnk

Googling said to add "explorer.exe" to the beginning of that shortcut
target to keep the command window but that also just flashed at me.
manpage.lnk
target=explorer.exe /k c:\path\manpage.bat

Then I prepended "%comspec% /k" to the shortcut target & that worked.
target=%comspec% /k c:\path\manpage.bat

That worked wonderfully to open up a command window with the initial
list of available commands already waiting for me (as it runs it first).

The command windows is already at the right path so there's no need
to pollute the $PATH with yet another needless entry (enough already).

That's the whole purpose of the Windows AppPaths registry sub key.
https://helgeklein.com/blog/how-the-app-paths-registry-key-makes-windows-both-faster-and-safer/

This is probably what I'll use for the next decade or two because
it's simple and obvious and elegant enough to be easily remembered
and when needed, it's eminently extensible as it's self explanatory.

Re: Edit the manpage for a Windows /? command example

<1etbfcah65u1.dlg@v.nguard.lh>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=527&group=alt.internet.wireless#527

 copy link   Newsgroups: alt.comp.os.windows-10 alt.comp.os.windows-11 alt.internet.wireless
Path: i2pn2.org!i2pn.org!news.neodome.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: V@nguard.LH (VanguardLH)
Newsgroups: alt.comp.os.windows-10,alt.comp.os.windows-11,alt.internet.wireless
Subject: Re: Edit the manpage for a Windows /? command example
Date: Sat, 18 Mar 2023 02:03:01 -0500
Lines: 42
Message-ID: <1etbfcah65u1.dlg@v.nguard.lh>
References: <tuvchj$5gc$1@nnrp.usenet.blueworldhosting.com> <44g5dcvrxh79.dlg@v.nguard.lh> <tv2v9p$1aq2$1@nnrp.usenet.blueworldhosting.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net t4Yc0fR+yvGut8gYeOo6XQG1Fog/KkpI2NjdlgTngjU1M1HO9a
Cancel-Lock: sha1:Y1KukLz8tW/iLnrhP6xCzQqpYxU=
User-Agent: 40tude_Dialog/2.0.15.41
 by: VanguardLH - Sat, 18 Mar 2023 07:03 UTC

Michael <michael@spamcop.com> wrote:

> VanguardLH wrote:
>
>> netsh, as with many tools, gives you only top-level help if you use
>> "<prog> /?". You have to drill down to get to a directive or even
>> sub-directive to add /? to get help on the [sub]-directive, like:
>>
>> netsh /?
>> netsh interface /?
>> then
>> netsh interface ipv4 /?
>> then
>> netsh interface ipv4 set /?
>> then
>> netsh interface ipv4 set address /?
>>
>> You could start at the end if you know all the args you want to specify,
>> but I usually have to drill down through the help levels.
>>
>> There are no man pages in Windows like there is in Linux. Help is built
>> into the program. There is the 'help' command, but that just lists some
>> DOS-mode programs.
>
> I tried that, using a logical sequence, and also got stuck at a different
> point of the tree but it didn't seem that it would ever work logically.
>
> netsh /?
> ... interface - Changes to the 'netsh interface' context ...
>
> netsh interface /?
> ... ipv4 - Changes to the 'netsh interface ipv4' context.
>
> netsh interface ipv4 /?
> ... set interface - Sets interface parameters. ...
>
> netsh interface ipv4 set interface /?
^^^^^^^^^
\___ address (not interface)

That would match on the "netsh interface ipv4 set address ..." command
you said you were using.

Re: Edit the manpage for a Windows /? command example

<9ptgejxukt.ln2@Telcontar.valinor>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=528&group=alt.internet.wireless#528

 copy link   Newsgroups: alt.comp.os.windows-10 alt.comp.os.windows-11 alt.internet.wireless
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: alt.comp.os.windows-10,alt.comp.os.windows-11,alt.internet.wireless
Subject: Re: Edit the manpage for a Windows /? command example
Date: Sat, 18 Mar 2023 15:17:45 +0100
Lines: 15
Message-ID: <9ptgejxukt.ln2@Telcontar.valinor>
References: <tuvchj$5gc$1@nnrp.usenet.blueworldhosting.com>
<tuvrtj$1gtug$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net Gex2vbTkKuH8+N4lTP/c3ArXK8kcsUB1R1Teyt9KzCLrStStDj
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:9kxlDzFdYWA9smVgqhL9jgfHVgs=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Content-Language: es-ES, en-CA
In-Reply-To: <tuvrtj$1gtug$1@dont-email.me>
 by: Carlos E.R. - Sat, 18 Mar 2023 14:17 UTC

On 2023-03-16 20:50, Zaidy036 wrote:
> On 3/16/2023 11:28 AM, Michael wrote:
>> How can I edit the manpage for the Windows netsh command.

....

>> Worse, "/?" help doesn't really help (try it & let me know if it does).
>> So is there a way for me to ADD that example into the "netsh /?" results?
> take a screen pic and save it

In powershell, you can mark the text and copy it, to a text file.

--
Cheers, Carlos.

Re: Edit the manpage for a Windows /? command example

<MPG.3e7f76c434dc0d9b99009d@news.individual.net>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=529&group=alt.internet.wireless#529

 copy link   Newsgroups: alt.comp.os.windows-10 alt.comp.os.windows-11 alt.internet.wireless
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news-peer.in.tum.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: the_stan_brown@fastmail.fm (Stan Brown)
Newsgroups: alt.comp.os.windows-10,alt.comp.os.windows-11,alt.internet.wireless
Subject: Re: Edit the manpage for a Windows /? command example
Date: Sat, 18 Mar 2023 08:21:14 -0700
Organization: Oak Road Systems
Lines: 9
Message-ID: <MPG.3e7f76c434dc0d9b99009d@news.individual.net>
References: <tuvchj$5gc$1@nnrp.usenet.blueworldhosting.com> <tuvrtj$1gtug$1@dont-email.me> <9ptgejxukt.ln2@Telcontar.valinor>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net BpixAxuyxTIS2ujPWYMNngAShc+TFF0fEqGgPFPcluqsMx7obI
Cancel-Lock: sha1:hQaUGaHOM69DcaUIARBooFRr+/c=
User-Agent: MicroPlanet-Gravity/3.0.11 (GRC)
 by: Stan Brown - Sat, 18 Mar 2023 15:21 UTC

On Sat, 18 Mar 2023 15:17:45 +0100, Carlos E.R. wrote:
> In powershell, you can mark the text and copy it, to a text file.
>

Just like in the command prompt. :-)

--
Stan Brown, Tehachapi, California, USA https://BrownMath.com/
Shikata ga nai...

Re: Edit the manpage for a Windows /? command example

<op.111x1qxdmvhs6z@ryzen.home>

 copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=530&group=alt.internet.wireless#530

 copy link   Newsgroups: alt.comp.os.windows-10 alt.comp.os.windows-11 alt.internet.wireless
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!85.12.63.49.MISMATCH!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx33.iad.POSTED!not-for-mail
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
Subject: Re: Edit the manpage for a Windows /? command example
Newsgroups: alt.comp.os.windows-10,alt.comp.os.windows-11,alt.internet.wireless
References: <tuvchj$5gc$1@nnrp.usenet.blueworldhosting.com>
<k7gr63Fd1i3U1@mid.individual.net> <tuvhm8$1gcdr$1@dont-email.me>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: CK1@nospam.com (Commander Kinsey)
Message-ID: <op.111x1qxdmvhs6z@ryzen.home>
User-Agent: Opera Mail/1.0 (Win32)
Lines: 16
X-Complaints-To: abuse(at)newshosting.com
NNTP-Posting-Date: Sun, 19 Mar 2023 11:54:54 UTC
Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com
Date: Sun, 19 Mar 2023 11:54:52 -0000
X-Received-Bytes: 1552
 by: Commander Kinsey - Sun, 19 Mar 2023 11:54 UTC

On Thu, 16 Mar 2023 16:55:36 -0000, Paul <nospam@needed.invalid> wrote:

> On 3/16/2023 11:33 AM, Andy Burns wrote:
>> Michael wrote:
>>
>>> is there a way for me to ADD that example into the "netsh /?" results?
>>
>> Not really, just use notepad to create your own, err, notes.
>
> If there was a way to edit an executable,
> Windows Update would only replace it and
> your notes would be lost :-)

Not sure if it works now, but in the 90s I edited (with a text editor!) command.com on a friend's computer for a laugh, so the error messages were amusing. I just found the strings of text and changed them, making sure the number of characters was the same.

And of course there's a way to edit an executable, it's a decompiler.

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor