Author Topic: could you help me giving a batch file for this task  (Read 972 times)

0 Members and 1 Guest are viewing this topic.

Offline jraju

  • PcWinTech Full Member
  • **
  • Join Date: Jan 2016
  • Posts: 49
  • Karma: 0
could you help me giving a batch file for this task
« on: January 30, 2019, 06:00:23 PM »
Hi, i want to know the router status page details in the desktop
No , i am taking a long route of going to cmd as admin and thenpress Enter Key
the command screen closes to open another screen
userid: i supply the user id admin I then press Enter
it prompts for password, i enter password
the prompt goes to a dollar sign $ of which i do not know
just i type "show status"  and Enter key   and i iget the
router stas like date of firmware date, present date, adsl mode and speed parameters.
Now i want this as a batch file to be included in the task scheduler
I hope to receive the batch file as quick as possible
Shane or others plese provide the batch file
i am newbie to script writing.

PcWinTech.com Forums

could you help me giving a batch file for this task
« on: January 30, 2019, 06:00:23 PM »

Offline trpted

  • PcWinTech Guru
  • ******
  • Join Date: Sep 2011
  • Posts: 1,190
  • Karma: 37
Re: could you help me giving a batch file for this task
« Reply #1 on: February 03, 2019, 08:49:17 AM »
Not sure because there is not enough info.

#1 Is access, via:

telnet?

SSH?

#2 You did not include the IP Address of the router.

ie..

a) cmd - > ipconfig /all.

b) Goes to the default gateway IP Address.

c) Log-ins with user name and password.

d) Goes to the status page.
Private messages (PM) are not for support questions or for hints to not yet answered topics. The PMs are basically for confident conversation between the users, off the forum.

PcWinTech.com Forums

Re: could you help me giving a batch file for this task
« Reply #1 on: February 03, 2019, 08:49:17 AM »