China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 08:25
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Batch processing automatically logs in to the email View 8,815 Replies 48
Floor 16 Posted 2007-05-17 17:05 ·  中国 广东 广州 电信
中级用户
★★
Credits 201
Posts 72
Joined 2005-11-20 20:57
20-year member
UID 45624
Status Offline
Thanks chenall, it works perfectly.
Floor 17 Posted 2007-05-17 20:15 ·  中国 福建 福州 连江县 联通
高级用户
★★
Credits 581
Posts 277
Joined 2006-12-23 05:10
19-year member
UID 74328
Gender Male
Status Offline
Great master, keep learning
Floor 18 Posted 2007-05-18 08:48 ·  中国 福建 泉州 石狮市 电信
银牌会员
★★★
Credits 1,276
Posts 469
Joined 2002-12-23 13:00
23-year member
UID 586
Gender Male
From 福建泉州
Status Offline
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
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
lxmxn +8 2007-05-18 13:00
QQ:366840202
http://chenall.net
Floor 19 Posted 2007-05-23 23:50 ·  中国 黑龙江 牡丹江 电信
中级用户
★★
Credits 216
Posts 129
Joined 2007-02-14 07:26
19-year member
UID 79469
Gender Male
Status Offline
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 ]
Floor 20 Posted 2007-05-24 09:15 ·  中国 广东 广州 电信
中级用户
★★
Credits 201
Posts 72
Joined 2005-11-20 20:57
20-year member
UID 45624
Status Offline
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.
Floor 21 Posted 2007-05-24 17:35 ·  中国 广东 广州 白云区 电信
初级用户
Credits 25
Posts 11
Joined 2007-05-18 00:40
19-year member
UID 88882
Gender Male
Status Offline
i 不错不错...学到东西了..没想到可以这样应用
i Not bad, not bad... Learned something.. Didn't expect it could be applied like this
Floor 22 Posted 2007-09-02 00:17 ·  中国 福建 三明 电信
高级用户
★★
论坛上抢劫的
Credits 551
Posts 246
Joined 2006-09-21 12:35
19-year member
UID 63270
Status Offline
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!
Floor 23 Posted 2007-10-20 10:54 ·  中国 福建 厦门 电信
新手上路
Credits 7
Posts 4
Joined 2006-05-28 02:21
20-year member
UID 56123
Gender Male
Status Offline
Floor 24 Posted 2007-10-20 11:15 ·  中国 四川 成都 电信
初级用户
Credits 80
Posts 41
Joined 2007-10-05 14:44
18-year member
UID 98965
Gender Male
Status Offline
Bump
http://user.qzone.qq.com/182365808
Floor 25 Posted 2007-10-20 11:55 ·  中国 安徽 合肥 电信
初级用户
Credits 81
Posts 28
Joined 2007-08-27 17:14
18-year member
UID 95955
Gender Male
Status Offline
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.
Floor 26 Posted 2007-10-20 14:40 ·  中国 广东 深圳 腾讯云
新手上路
Credits 12
Posts 6
Joined 2007-10-19 23:50
18-year member
UID 100212
Gender Male
Status Offline
Floor 27 Posted 2007-10-30 02:54 ·  中国 安徽 合肥 电信
初级用户
Credits 84
Posts 30
Joined 2007-10-29 18:20
18-year member
UID 101112
Gender Male
Status Offline
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.
Floor 28 Posted 2007-10-30 03:00 ·  中国 安徽 合肥 电信
初级用户
Credits 84
Posts 30
Joined 2007-10-29 18:20
18-year member
UID 101112
Gender Male
Status Offline
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
Floor 29 Posted 2007-10-30 03:07 ·  中国 安徽 合肥 电信
初级用户
Credits 84
Posts 30
Joined 2007-10-29 18:20
18-year member
UID 101112
Gender Male
Status Offline
@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.
Floor 30 Posted 2007-11-01 02:45 ·  中国 广东 深圳 电信
初级用户
★★
Credits 167
Posts 95
Joined 2007-05-06 09:19
19-year member
UID 87628
Gender Male
Status Offline
Just now I also want to know the login method of 126~ thank you~
Forum Jump: