Author Topic: command line batch file help from experts  (Read 10403 times)

0 Members and 1 Guest are viewing this topic.

Offline jraju

  • Hero Member
  • *****
  • Join Date: Feb 2013
  • Posts: 2323
  • Location: india
  • Karma: 17
    • View Profile
command line batch file help from experts
« on: January 30, 2019, 05:19:15 am »
Hi, i experience sudden change in bb download and upload speeds.
The speed sites are full of redirects virus and unwanted popup of advt.
i tried one way for my router and it gives the status of the router in cmd quickly
 i need not log on to router to give uid and pw
But i want it in a form of batch file, in coding in which i am totally a newbie
The sequence i will explain
i will give it as command in english for easy understanding
go to cmd as administrator
issue command telnet x x x x
i will replace the x x x x with later
it will ask for user id: and it has to take admin as id without pausing
it will ask for password: and i will replace the pass word here with mine
it will go to dollar $ sign
you have to type "show status" without quotes and that should show me the result in desktop  and the user, i, have to close it.
i am asking the code, so that i could enable this bat file in task scheduler to report in intervals
Experts please
I think it is possible to achieve, as what i want is a kind of automation of some entries.
go to cmd as admin involves, may be tough. But experts would be able to give me code for this.
If suppose, if vb is favourite, then i would love to have it.
Quick reply if you please
The Bottom line is "Check your hardware first if it supports the task you try".

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: command line batch file help from experts
« Reply #1 on: January 30, 2019, 07:34:55 am »
Do you get any redirects on any other websites as you may have picked up some unwanted adware.

This has nothing to do with your router, although I would log into the router to see if there are any machines connecting to your BB connection that you don't recognize.

Change your BB password if there are.

Give the computer a Custom Scan with the free version of MBAM and change the setting to treat PuPs and PuMs as Malware, or you could perform a scan with AdwCleaner to see what that finds.

https://www.malwarebytes.com/mwb-download/

https://www.malwarebytes.com/adwcleaner/

Offline Samson

  • Hero Member
  • *****
  • Join Date: Nov 2011
  • Posts: 915
  • Location: London
  • Karma: 38
    • View Profile
Re: command line batch file help from experts
« Reply #2 on: January 30, 2019, 02:57:55 pm »

The speed sites are full of redirects virus and unwanted popup of advt.


Is this a symptom of the BSNL ad injections on http sites? (Still unresolved by BSNL I see)

Try this secure site speed test https://www.speedtest.net/

Offline jraju

  • Hero Member
  • *****
  • Join Date: Feb 2013
  • Posts: 2323
  • Location: india
  • Karma: 17
    • View Profile
Re: command line batch file help from experts
« Reply #3 on: January 30, 2019, 05:36:27 pm »
Hi, it is not about threat, i am using mbm and adware cleaner
what i want is monitoring the router statistics every few hours instead of logging and knowing.
I want help in creating batch files
i am total newbie in programming.
Now i use a long route to go to cmd as admin and then issue those commands to get the stat.
i do not want to login as alternative
please kindly provide code help of cmd batch file
boggins, sasmon, juliun
The Bottom line is "Check your hardware first if it supports the task you try".

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: command line batch file help from experts
« Reply #4 on: January 31, 2019, 12:11:34 am »
Does this program help with what you want - http://vwlowen.co.uk/internet/files.htm

Offline jraju

  • Hero Member
  • *****
  • Join Date: Feb 2013
  • Posts: 2323
  • Location: india
  • Karma: 17
    • View Profile
Re: command line batch file help from experts
« Reply #5 on: January 31, 2019, 12:42:58 am »
Hi, my router name is not included in the list and i tried but could not get the details
The Bottom line is "Check your hardware first if it supports the task you try".

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: command line batch file help from experts
« Reply #6 on: January 31, 2019, 12:46:32 am »
Did you try the Lite version ?

Are you still using a Netgear router ?

Offline jraju

  • Hero Member
  • *****
  • Join Date: Feb 2013
  • Posts: 2323
  • Location: india
  • Karma: 17
    • View Profile
Re: command line batch file help from experts
« Reply #7 on: January 31, 2019, 12:50:12 am »
Yes. Nope
The Bottom line is "Check your hardware first if it supports the task you try".

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: command line batch file help from experts
« Reply #8 on: January 31, 2019, 12:51:18 am »
If you Google for program for monitoring router stats you will see a list of other programs which may be more suitable for your needs.

Offline jraju

  • Hero Member
  • *****
  • Join Date: Feb 2013
  • Posts: 2323
  • Location: india
  • Karma: 17
    • View Profile
Re: command line batch file help from experts
« Reply #9 on: January 31, 2019, 04:32:07 am »
have surfed thro net. Tried programs. not getting  any router stat.
Samson or Julian could help me in coding or any other experts
i tried some commands, but i do not know programming. That is the issue
The Bottom line is "Check your hardware first if it supports the task you try".

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 10182
  • Location: UK
  • Karma: 122
    • View Profile
Re: command line batch file help from experts
« Reply #10 on: January 31, 2019, 07:41:06 am »
There's only Router Stats Lite that I've used before.

Google for netstat commands for viewing router stats which will give you a number of links in how to use the netstat cmd.
« Last Edit: January 31, 2019, 07:58:37 am by Boggin »