中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-11-11 05:15
47,815 topics / 349,930 posts / today 0 new / 48,291 members
DOS批处理 & 脚本技术(批处理室) » Batch processing automatically logs in to the email
Printable Version  10,843 / 48
Floor16 cain Posted 2007-05-17 17:05
中级用户 Posts 72 Credits 201
Thanks chenall, it works perfectly.
Floor17 suntb Posted 2007-05-17 20:15
高级用户 Posts 277 Credits 581
Great master, keep learning
Floor18 chenall Posted 2007-05-18 08:48
银牌会员 Posts 469 Credits 1,276 From 福建泉州
URL-encode the special characters # and &. This can solve the problem that you can't log in when the password contains these two characters.



  1. @echo off
  2. ::Set the login email name to yeah or 126
  3. set mail=yeah

  4. ::Set user
  5. set "user=username

  6. :Set password
  7. set "pass=password
  8. setlocal enabledelayedexpansion
  9. set "pass=!pass:#=%%23!"
  10. set "pass=!pass:&=%%26!"
  11. endlocal&set "pass=%pass%"

  12. ::Yeah login URL
  13. set "yeah=http://entry.yeah.net/cgi/login?&bCookie=&user=%user%&pass=%pass%"

  14. ::126 email login URL
  15. set "126=https://entry.mail.126.com/cgi/login?&bCookie=&user=%user%&pass=%pass%"

  16. ::Login
  17. cmd /c start "" "%%%mail%%%"
chenall Posted on: 2007-05-18 08:44
Floor19 xswdong Posted 2007-05-23 23:50
中级用户 Posts 129 Credits 216
Wow! That's really amazing!!!
Can chenall make a login for 126 or 163 cloud disk, looking forward to it ^

[ Last edited by xswdong on 2007-5-24 at 10:17 AM ]
Floor20 cain Posted 2007-05-24 09:15
中级用户 Posts 72 Credits 201
If only the password could not be in plain text, just like the login script generated by the QQ auto-login tool which is in ciphertext.
Floor21 itolaiai Posted 2007-05-24 17:35
初级用户 Posts 11 Credits 25
i 不错不错...学到东西了..没想到可以这样应用
i Not bad, not bad... Learned something.. Didn't expect it could be applied like this
Floor22 lotus516 Posted 2007-09-02 00:17
高级用户 Posts 246 Credits 551
I want to know if I can automatically download the attached file! There is only one email in the mailbox, and there is an attachment!
Floor23 dahongpao Posted 2007-10-20 10:54
新手上路 Posts 4 Credits 7
Floor24 putao Posted 2007-10-20 11:15
初级用户 Posts 41 Credits 80
Bump
Floor25 5548646 Posted 2007-10-20 11:55
初级用户 Posts 28 Credits 81
set "yeah=http://entry.yeah.net/cgi/login?&bCookie=&user=%user%&pass=%pass%"
set "126=https://entry.mail.126.com/cgi/login?&bCookie=&user=%user%&p
Why are quotes added here? And it doesn't work if I remove them.

cmd /c start "" "%%%mail%%%"
Why use three %? I think two would be enough, but two don't work.
Floor26 ckys Posted 2007-10-20 14:40
新手上路 Posts 6 Credits 12
Floor27 jiaxiang269 Posted 2007-10-30 02:54
初级用户 Posts 30 Credits 84
This is a URL link. It is an address for logging in. The part like %var% and %num% are probably placeholders for variables. The meaning is that it is a login page link. And it's about not being able to directly input WWW.163.COM to access it in this specific context described. The translation of the text within the brackets is as above.
Floor28 jiaxiang269 Posted 2007-10-30 03:00
初级用户 Posts 30 Credits 84
Got it, "https://reg.163.com/logins.jsp?username=%username%&password=%

password%&url=http://fm163.163.com/coremail/fcg/ntesdoor2" is his connection address, haha
Floor29 jiaxiang269 Posted 2007-10-30 03:07
初级用户 Posts 30 Credits 84
@echo off

set "username=用户名"

set "password=密码"

start "163邮箱登录中" "www.126.com"

In fact, as long as you change the link address inside to the website you want to open.
Floor30 ldr2zjj Posted 2007-11-01 02:45
初级用户 Posts 95 Credits 167
Just now I also want to know the login method of 126~ thank you~
Prev  1 2 3 4  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023