Jump to content
anggwaponi

using DOS command for batch file

Recommended Posts

hi all

need help or workaround regarding some short DOS programs using batch files 😇

actually, it's about adding some colors in a batch file i created in which i think i have achieved switching color every after IP address icon_cool.gif 

however, my problem it will completely changed the color of the previous IP address being ping using the now present color-assigned to the current IP address icon_confused.gif

i just want is to retain the color of the previous IP address being ping icon_redwine.gif 


@echo off
:beginning

ping -n 7 24.120.201.37 

color 9

ping -n 7 24.120.201.38 

color 3

ping -n 7 24.120.201.49 

color 6

goto beginning

Share this post


Link to post
Share on other sites

hello justsomeguy 😉 and hi davej ☺️ 

at the moment, i'm using Windows 7 in which it's the reason i'm more into DOS commands 😐 

 

i just need to finish this program so at least i have my own customize monitoring system lol 😎

Share this post


Link to post
Share on other sites

I don't think it's possible on the default command prompt in Windows 7.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×