中国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-08-26 23:42
47,812 topics / 349,912 posts / today 2 new / 48,264 members
其它操作系统综合讨论区 » How to open a web page under DOS?
Printable Version  4,005 / 17
Floor1 ednykissyou Posted 2006-06-05 12:27
初级用户 Posts 88 Credits 182
I'm sorry, I sent it before I finished speaking!
I want to create an open.bat file under my D drive, and I put this line in it: http://192.168.168.202/vs/check/check.aspx
The purpose is to automatically open this web page, but it didn't open (the path is correct). May I ask where I went wrong and how to write it? Please give an example!

[ Last edited by qwe1234567 on 2006-6-8 at 08:12 ]
Floor2 lhkyzh Posted 2006-06-05 14:23
初级用户 Posts 12 Credits 34
echo off
Start http://www.hao123.com
Floor3 chujiafu Posted 2006-06-06 19:46
银牌会员 Posts 595 Credits 1,339 From 安徽 宿州
The poster above is correct.
Floor4 weilong888 Posted 2006-06-06 20:23
银牌会员 Posts 548 Credits 1,270
The start command can actually be used to open files with suffixes like .word, .txt, etc. The command will automatically find the corresponding program to open the file.
Floor5 electronixtar Posted 2006-06-06 21:00
铂金会员 Posts 2,672 Credits 7,493
The function of start is the same as "Start --> Run", but it is recommended to add quotes for parameters to avoid spaces.
Floor6 ednykissyou Posted 2006-06-06 23:17
初级用户 Posts 88 Credits 182
echo off
Start http://www.hao123.com
This also doesn't work, really very depressed. If the previous program is not run,
start http://192.168.168.202/vs/check/check.aspx
This one works
Floor7 namejm Posted 2006-06-07 01:39
荣誉版主 Posts 1,737 Credits 5,226 From 成都
The person upstairs, on my computer, running
echo off
Start http://www.hao123.com
It's correct. My environment is XP + SP2
Could it be that you blocked http://www.hao123.com?
Suspect there's a problem with your network settings.
Floor8 tsenix Posted 2006-06-08 00:48
初级用户 Posts 61 Credits 121 From HK
The method on the 2nd floor is feasible. Actually, just using the 2nd sentence is enough.
Floor9 jasonwang1212 Posted 2006-06-09 16:57
新手上路 Posts 6 Credits 12
Create a 163.bat file, edit the document and enter: start http://www.163.com
Execute the 163.bat file, OK! THK!
Floor10 niuji Posted 2006-08-16 15:46
初级用户 Posts 14 Credits 52
Excuse me, after successfully executing and opening the web page, I want to return an information about whether the execution is successful or not to e:/niuji/1.txt.

If it cannot be opened:
The content of 1.txt is: FAILED

If it can be opened:
The content of 1.txt is: SUCCESS

How should I do it?
Troubled~
Thank you
Floor11 paldos Posted 2006-08-16 16:36
初级用户 Posts 27 Credits 62
Originally posted by niuji at 2006-8-16 15:46:
I would like to return a success or failure message to e:/niuji/1.txt after successfully opening a web page.

If it cannot be opened:
The content of 1.txt is: FAILED

If it can be opened:
The content of 1.txt is: SUCCESS
...

I think, to get whether the page can be opened, it should be impossible, right!
Floor12 DOS1218 Posted 2006-08-23 11:27
初级用户 Posts 25 Credits 70
New here, learned it!!
Floor13 sweetdreamlan Posted 2006-09-13 10:02
中级用户 Posts 92 Credits 244
start c:\"program files"\"internet explorer"\iexplore.exe www.hao123.com
Floor14 yjf2006 Posted 2006-09-15 11:58
初级用户 Posts 30 Credits 84
Learned something again. Thanks to the LZ and the second floor
Floor15 electronixtar Posted 2006-09-15 21:20
铂金会员 Posts 2,672 Credits 7,493
Since IE has the shortcut key value in the registry, you can just start iexplore www.google.com directly
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023