Can any one write script / batch commands ??

Sparki

Member
Join Date
Aug 2002
Location
Barnsley,UK
Posts
13
Can any one write script / batch commands ??

Iknow its not a PLC question but it is related in a way.
This is for use at work with the telemetry modems,when they go wrong we have to send them away to get the factory defaults reloaded in them,then we get them back with the manufacturers default i.p. address in them,we then proceed to load our config in them.
The problem in setting them to default myself when one goes wrong is i only have about 4 seconds to type in all the info below,as this is the booting up time when the modem is available to the telnet command thus letting me in to the root of the modem & reloading the defaults.
If i could get a one click script / batch file to run the following while it is booting would save me a lot of time & hassle.

Net Use runcmd
telnet 158.234.17.166
Login = username
Password = password

I have created a batch file that looks like the text above but it wont go past the Login part.

Any help greatly appreciated.
 
Not the exact answer, but ..........

you need to configure the telnet client for the 'correct' carriage return format. Google telnet carriage returns and there is a ton of it.

Essentially the carriage return in your batch file is probably not the same thing as pressing enter inside your telnet client.
 

Similar Topics

The biggest time and productivity killer for me during projects are : Being OCD with the architecture and tagname structure Deciding where to...
Replies
2
Views
1,404
People are telling me that I need the "Advanced" version for this purpose. Should I uninstall the "Professional" version beforehand?
Replies
7
Views
3,279
Hello guys I need a help from you all to complete my assignment I have more than 1000 tags in my project Now I have to make cause and effect chart...
Replies
0
Views
3,483
Hi everyone, I hope you're all doing well. I'm currently working on updating an HMI project for the GP2500, and I've encountered a bit of a...
Replies
1
Views
26
I've gotten to the learning curve where I can program a call for pump to come on at set point but I'm not sure how to turn the same pump off when...
Replies
1
Views
113
Back
Top Bottom