|
-
Tiger Shark
Need help with batch file
Ok, here goes again.
Grizzly, I noticed you locked my post. If you would please look at the replies in the OS forum, then you would notice that I didn't get my question answered and that nobody really knows how to write such a script. I didn't mean to be rude by posting two places, but seeing as no-one knew how in the OS forum, I decided to post it here as well. So, here goes again 
I need to create a batch file in Win98 / Win2k pro that can log on to my ISP via. telnet each time I boot. I normally use telnet.exe to log on. That is, open up run and type "telnet xxx.xxx.xxx.xxx yyy" where x is the IP and y the port. Then it will prompt me for username and password, just like when you connect to an FTP via. an MS-DOS Prompt.
Please help
Note : I post this in the Programming forum becuase I want to create a script.
------------------
- T-Bird 1.2GHz (200 MHz bus)
- ECS K7S5A
- Asus V7700
- 512 MB PC133 RAM
- SB Live! Value
- Pioneer 16x DVD
- IBM Deskstar 40GB 7200 RPM @ ATA/100
- Dual boot Win98SE/Win2k Pro.
Core i5 2500K @ 4.0GHz - Scythe Mugen 2 Rev. B - ASRock Z68 Extreme 4 - Club3D HD 7850 Royal Queen 1 GB @ 1075/1250 - SyncMaster XL2370 - 16GB Kingston HyperX 1600 - Asus Xonar DS - Samsung 840 EVO 250GB - WD Red 3TB - Pioneer DVR-216DBK - Fractal Design Define R3 - Corsair 620HX PSU - Windows 8.1 Pro x64
-
Ursus Arctos Moderatis
Yeah sorry about that Skywalker, it's just our policy to keep people from posting the same thing all over the place. As long as you don't post this in OS again, than I'm happy 
As far as an answer to your questions goes, from what I gather in the OS-forum responses, the problem you're running into is not the telnet attempt, but rather...you can't figure out a good way to auto-login / password so you never have to type it in again.
This might be a problem...and I'm wondering if the best solution might actually lie in a 3rd party telnet application. I really don't think the simplistic built-in Windows telnet app will be able to do this for you.
-
NullPointerException
Grizzly brings up a good point. I had an old Telnet application called CommNet which did dialup and a couple other things too. You might want to try to dig this program or one similar to see if they have a solution to your scripting problem.
------------------
The price of freedom is high.
Open Source is free like a puppy is free.
It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames.
Understanding Evolution
-
Tiger Shark
No problem, and thanks for pointing a third party program out 
But still, if anyone have experience with Windows Scripting, then now is the time to speak 
------------------
- T-Bird 1.2GHz (200 MHz bus)
- ECS K7S5A
- Asus V7700
- 512 MB PC133 RAM
- SB Live! Value
- Pioneer 16x DVD
- IBM Deskstar 40GB 7200 RPM @ ATA/100
- Dual boot Win98SE/Win2k Pro.
Core i5 2500K @ 4.0GHz - Scythe Mugen 2 Rev. B - ASRock Z68 Extreme 4 - Club3D HD 7850 Royal Queen 1 GB @ 1075/1250 - SyncMaster XL2370 - 16GB Kingston HyperX 1600 - Asus Xonar DS - Samsung 840 EVO 250GB - WD Red 3TB - Pioneer DVR-216DBK - Fractal Design Define R3 - Corsair 620HX PSU - Windows 8.1 Pro x64
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|