MajorGeeks Support Forums IOBit Software

Go Back   MajorGeeks Support Forums > Majorgeeks.Com - Support Forums > Programming
Register FAQ Members List Calendar Casino Mark Forums Read

Programming Place to discuss programming including HTML, Java, C++, MySQL and others.


Reply
 
Thread Tools Display Modes
  #1  
Old 01-31-12, 04:54
slyclam slyclam is offline
Private E-2
 
Join Date: Jan 2012
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Post Automate web login via dos batch

Hi,

Need help in scripting a batch file for automatic login in a website (for example www.gmail.com). The batch file will contain the username & password for logging in.
It's a windows system.

Please help.
Reply With Quote
Sponsored links
  #2  
Old 01-31-12, 12:16
GermanOne's Avatar
GermanOne GermanOne is offline
Corporal
 
Join Date: Feb 2009
Location: Thuringia / Germany
Posts: 297
Thanks: 4
Thanked 58 Times in 57 Posts
Default Re: Automate web login via dos batch

You can't send keystrokes to a GUI using batch. You could try the SendKeys Method in a VBScript.

Regards
GermanOne
Reply With Quote
The Following User Says Thank You to GermanOne For This Useful Post:
slyclam (02-01-12)
  #3  
Old 01-31-12, 13:10
shnerdly's Avatar
shnerdly shnerdly is offline
Major Geek
 
Join Date: Jan 2006
Location: The Frozen Tundra of Minnesota
Posts: 1,060
Thanks: 46
Thanked 124 Times in 118 Posts
Default Re: Automate web login via dos batch

I'm not sure if this meets your goal or not but Thunderbird will send and receive email through gmail and store your username and password so it all happens by a single click.

Otherwise, there are applications like Roboform that manage your online user accounts.
__________________
Communicate! . . . It can't make things any worse.
Reply With Quote
  #4  
Old 02-01-12, 03:40
slyclam slyclam is offline
Private E-2
 
Join Date: Jan 2012
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: Automate web login via dos batch

@GermanOne: Thanks for the info. I'll try to find a solution to my problem using this.

@shnerdly: That was not what I meant. Thanks anyways.
Reply With Quote
  #5  
Old 02-20-12, 00:27
stevepowers stevepowers is offline
Private E-2
 
Join Date: Feb 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Automate web login via dos batch

You need to provide more information about what exactly you want to do.

One option you could try would be finding a way to get cURL to do this; it lets you make HTTP requests from a command line or a script file; although I don't know if it will work with Gmail because Google uses cookies and advanced authentication, not just standard HTTP authentication.

If you elaborate on why you want to do this from a batch file we can probably help you find a way to do it.
Reply With Quote
Sponsored links
Reply

Tags
automation, batch, dos, windows

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Batch RAR? Keyser Söze Software 2 06-26-07 18:34
Automate file move? Stygiis Software 1 10-17-06 14:40
Need to automate a file move every night themeaner Programming 1 04-06-05 10:26
LOL, Batch help Sara Programming 2 09-21-04 17:19
Batch Job DanMan Software 1 03-15-04 20:45


All times are GMT -5. The time now is 11:03.


MajorGeeks.Com Home Page
| Admin Tools | All In One | Anti-Spyware | Anti-Virus | Appearance | Backup | Benchmarking | BIOS | Browsers | Covert Ops |
Data Recovery | Diagnostics | Drive Cleaners | Drive Utilities | Drivers | Driver Tools Ergonomics | Firewalls | Games | Game Tweaks | Graphics | Input Devices | Internet Tools | Macintosh | Mail Utilities | Memory | Messaging | Monitoring | Microsoft | Multimedia | Networking | Office Tools | Process Management | Processor | Registry | Security | System Info | Toys | Video | Miscellaneous
|

-->
Powered by vBulletin® Version 3.8.4
Copyright © 2009 vBulletin Solutions, Inc. All rights reserved.
Ad Management by RedTyger