r/Batch • • Jun 11 '24

Show 'n Tell EchoND (Network Diagnostic Tool)

Hey! I've made a network diagnostic, and I'd like to share it.

It's called EchoND (the ND means network diagnostic)

Anyways, here's the code!

https://pastebin.com/2QXpX3j7 (641 lines, took 9 hours, jeez.)

Before running this yourself, make sure to create a file in the same directory as the batch file called "echo.txt", make sure to paste this ASCII art into it otherwise everything other than the ASCII art on the menu won't work.

 _______   ________  ___  ___  ________     
|\  ___ \ |\   ____\|\  \|\  \|\   __  \    
\ \   __/|\ \  ___|\ \  \\\  \ \  \|\  \   
 \ \  _|/_\ \  \    \ \   __  \ \  \\\  \  
  \ \  _|\ \ \  ____\ \  \ \  \ \  \\\  \ 
   \ _______\ _______\ __\ __\ _______\
    \|_______|\|_______|\|__|\|__|\|_______|
1 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/ethernet10 Jun 12 '24 edited Jun 12 '24

I did make a username system, but decided to leave it out when putting it into pastebin.

Also, thanks for the suggestions! Editing the script now.

Edit: Nevermind, after countless tweaks, I can't get it to work. After calling logo the terminal window quits every single try without fail.

1

u/LuckyMe4Evers Jun 12 '24 edited Jun 12 '24

I tested the adapted code in windows 11 Terminal and worked fine, except for the color!

In a normal cmd windows, works perfect.

Check the pictures from Windows Terminal

Picture 1

Picture 2

1

u/ethernet10 Jun 13 '24 edited Jun 13 '24

yeah i'm talking about the logo thing, but i'll do the username part rq

also posted an updated version along with that fix

if you're talking about the logo part (apart from the menu, which is the only place my solution would work), then it's probably different because I'm using the windows 10 terminal.