|
ednykissyou
初级用户
 
积分 182
发帖 88
注册 2005-11-29
状态 离线
|
『楼 主』:
dos下怎么打开 网页?
使用 LLM 解释/回答一下
不好意思,话没出完就不小心给发了!
我想在我的D盘下建一个open.bat文件,我在里边放了这么一句: http://192.168.168.202/vs/check/check.aspx
目的是想自动打开这个网页,但是没有打开(路径没有错),请问我错在哪里了,该怎么写呢?请示例一下!
Last edited by qwe1234567 on 2006-6-8 at 08:12 ]
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 ]
|
|
2006-6-5 12:27 |
|
|
lhkyzh
初级用户
 
积分 34
发帖 12
注册 2006-6-4
状态 离线
|
|
2006-6-5 14:23 |
|
|
chujiafu
银牌会员
    
积分 1337
发帖 594
注册 2004-5-26 来自 安徽 宿州
状态 离线
|
|
2006-6-6 19:46 |
|
|
weilong888
银牌会员
    
积分 1270
发帖 548
注册 2004-5-31
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
start命令其实还可以打开以word、txt等为后缀的文件,命令会自己寻找打开文件的相应程序。
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.
|
|
2006-6-6 20:23 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
start的作用和 开始 --> 运行是一样的,不过推荐参数加 引号,以免空格~~
The function of start is the same as "Start --> Run", but it is recommended to add quotes for parameters to avoid spaces.
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2006-6-6 21:00 |
|
|
ednykissyou
初级用户
 
积分 182
发帖 88
注册 2005-11-29
状态 离线
|
|
2006-6-6 23:17 |
|
|
namejm
荣誉版主
       batch fan
积分 5226
发帖 1737
注册 2006-3-10 来自 成都
状态 离线
|
|
2006-6-7 01:39 |
|
|
tsenix
初级用户
 
积分 121
发帖 61
注册 2006-4-18 来自 HK
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
2楼的方法可行, 只用第2句其实也可以了
The method on the 2nd floor is feasible. Actually, just using the 2nd sentence is enough.
|
|
2006-6-8 00:48 |
|
|
jasonwang1212
新手上路

积分 12
发帖 6
注册 2006-6-9
状态 离线
|
|
2006-6-9 16:57 |
|
|
niuji
初级用户
 
积分 52
发帖 14
注册 2006-8-7
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
请问执行打开网页成功后,我想把一个执行成功与否的信息返回到e:/niuji/1.txt
不能打开:
1.txt的内容为:FAILED
能打开:
1.txt的内容为:SUCCESS
该怎么做呢?
苦恼~
谢谢
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
|
|
2006-8-16 15:46 |
|
|
paldos
初级用户
 
积分 62
发帖 27
注册 2006-8-2
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
Originally posted by niuji at 2006-8-16 15:46:
请问执行打开网页成功后,我想把一个执行成功与否的信息返回到e:/niuji/1.txt
不能打开:
1.txt的内容为:FAILED
能打开:
1.txt的内容为:SUCCESS
...
我想,要获得是否能打开页面,应该不可能把!
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!
|
|
2006-8-16 16:36 |
|
|
DOS1218
初级用户
 
积分 70
发帖 25
注册 2006-8-22
状态 离线
|
|
2006-8-23 11:27 |
|
|
sweetdreamlan
中级用户
  
积分 244
发帖 92
注册 2006-5-13
状态 离线
|
|
2006-9-13 10:02 |
|
|
yjf2006
初级用户
 
积分 84
发帖 30
注册 2006-9-12
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
又学到一点东西 谢谢楼主和二楼的
Learned something again. Thanks to the LZ and the second floor
|
|
2006-9-15 11:58 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
由于IE在注册表里有快捷键值,所以直接 start iexplore www.google.com 就行了
Since IE has the shortcut key value in the registry, you can just start iexplore www.google.com directly
|

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>" |
|
2006-9-15 21:20 |
|