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!
Credits 182 Posts 88 Joined 2005-11-29 05:52 20-year member UID 46146
Status Offline
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 ]
Credits 1,270 Posts 548 Joined 2004-05-31 00:00 22-year member UID 25754 Gender Male
Status Offline
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.
Credits 5,226 Posts 1,737 Joined 2006-03-10 00:38 20-year member UID 51697 From 成都
Status Offline
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.
Credits 52 Posts 14 Joined 2006-08-07 11:43 20-year member UID 60018
Status Offline
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
Credits 62 Posts 27 Joined 2006-08-02 17:41 20-year member UID 59703
Status Offline
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!