|
ednykissyou
初级用户
 
积分 182
发帖 88
注册 2005-11-29
状态 离线
|
『楼 主』:
这个问题也挺怪!
使用 LLM 解释/回答一下
我需要一下打开10多个同样的程序,这种程序是这样的,你单击一个可执行文件(look.txt)以后,会弹出一个对话框需你点一下确定(或者是空格),然后才打开相关可执行文件(get.txt)
如果用批处理直接运行look.txt的话,会出现暂停,要手动确定
我想能不能一不暂停一次全部打开呢?
I need to open more than 10 identical programs. Such a program is like this: you click an executable file (look.txt), and then a dialog box pops up and you need to click OK (or space) to open the related executable file (get.txt). If you run look.txt directly with a batch script, there will be a pause and you need to manually confirm. I wonder if I can open them all at once without pausing.
|
|
2006-5-12 15:14 |
|
|
JonePeng
金牌会员
      D◎$ Fαп
积分 4562
发帖 1883
注册 2004-1-19 来自 广东广州
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
描述得不够清楚,怎么 .txt 是可执行文件?!
The description is not clear enough. How can a.txt be an executable file?!
|

----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
|
|
2006-5-12 16:28 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
挺怪的问题,挺怪的楼主
A rather strange question, and a rather strange thread starter
|
|
2006-5-12 17:03 |
|
|
220110
荣誉版主
      
积分 718
发帖 313
注册 2005-9-26
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
我的理解为:
我需要同时打开10多个程序,这种程序是这样的,当你单击一个批处理文件以后,会弹出一个对话框需你点一下确定(或者是用空格选取"确定"按钮),然后才打开相关可执行文件.
如果用批处理直接运行的话,会出现暂停,要手动确定.
我想能不能一次都不暂停,一次全部打开呢?
My understanding is:
I need to open more than 10 programs at the same time. Such a program, when you click a batch file, a dialog box will pop up and you need to click OK (or select the "OK" button with a space), and then the relevant executable file will be opened.
If you run it directly with a batch file, there will be a pause and you need to manually confirm.
I wonder if I can open all of them at once without any pauses?
|
|
2006-5-12 20:29 |
|
|
ednykissyou
初级用户
 
积分 182
发帖 88
注册 2005-11-29
状态 离线
|
|
2006-5-14 18:00 |
|
|
3742668
荣誉版主
      
积分 2013
发帖 718
注册 2006-2-18
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
look.txt不是可执行文件,而是文本文件。
看你描述的意思有点被改了文件关联或notepad.exe被更改的味道,能否把你的批处理贴上来大家帮你看看。
或者你在批处理中直接指定用来打开look.txt的可执行文件看看,如:
c:\windows\notepad.exe look.txt
type look.txt
look.txt is not an executable file but a text file.
It seems that your description implies that the file association might have been changed or notepad.exe might have been modified. Can you post your batch script so that everyone can help you take a look?
Or you can directly specify the executable file used to open look.txt in the batch script, for example:
c:\windows\notepad.exe look.txt
type look.txt
|
|
2006-5-14 18:09 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
楼主的语文啊~~~~~~~
The Chinese in the original text "楼主的语文啊~~~~~~~" is not a standard sentence with a specific technical or translatable content in the context of retro-computing, DOS, etc. But following the requirements, if it's not translatable in a way related to the specified topics, we return the original text. So the translated result is: The LZ's Chinese language啊~~~~~~~
|
|
2006-5-14 19:35 |
|
|
wl00560
银牌会员
    
积分 1384
发帖 709
注册 2005-10-29
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
看了半天,还是不知道究竟什么情况
After looking at it for a long time, I still don't know what's going on exactly
|
|
2006-5-14 22:22 |
|
|
ednykissyou
初级用户
 
积分 182
发帖 88
注册 2005-11-29
状态 离线
|
|
2006-5-14 22:34 |
|
|
3742668
荣誉版主
      
积分 2013
发帖 718
注册 2006-2-18
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
晕,LZ你前2个贴子表达得实在是……
关于这个问题不应该在这个版块发贴,可以发到我签名中的那个版块。
利用vbs脚本发送一个回车应该可以解决问题。
strExeFile = "D:\one.exe"
With CreateObject("Wscript.Shell")
for i = 1 to 8
.Run strExeFile '运行程序
Wscript.Sleep 500 '等待半秒,假设你的程序启动需要半秒
.SendKeys "~" '发送一个回车键
next
end With
Oh, LZ, the expression in your first two posts is really...
This issue shouldn't be posted in this section; it can be posted in the section in my signature.
Using a VBS script to send an enter key should be able to solve the problem.
strExeFile = "D:\one.exe"
With CreateObject("Wscript.Shell")
for i = 1 to 8
.Run strExeFile 'Run the program
Wscript.Sleep 500 'Wait for half a second, assuming your program takes half a second to start
.SendKeys "~" 'Send an enter key
next
end With
|
|
2006-5-14 22:57 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
───────────────── 版务记录 ─────────────────
执行:Will Sort
操作:合并以下主题
+ {20601->1}这个问题也挺怪!
+ {20650->5}我的怪想法就是这个意思。
> {20646->9}以前说的那怪怪问题就是这个意思!
说明:操作主题存在上下文的直接联系
处罚:扣除8点积分,包括发表该主题而奖励的6分和主题重复惩罚性扣除的2分
提示:请访问 {7326}论坛新手必读,所有人的基本行为准则
───────────────── 版务记录 ─────────────────
───────────────── 版主提示 ─────────────────
为了便于论坛用户浏览和版主管理,请您修改本主题的标题,以简要叙述主题的内容或意图
如果您确认标题不需要修改,请继续回复该主题进行申辩,若申辩理由充分,将取消该通知
如果您确认标题需要修改,请点击该主题首帖下方"编辑"按钮,在编辑页面中修改标题栏
如果此通知发出三日后您仍未进行申诉或修改,将由版主进行修改,并对作者进行相应处罚
处罚为扣除8点积分,包括追回您因发表主题奖励的6分和因标题违规而惩罚性扣除的2分
在得知您做出积极恰当的回应后,版主将在三个工作日内删除本提示以消除对您的不利影响
───────────────── 版主提示 ─────────────────
推荐标题:如何一次打开多个需要回车确定对话框的程序
Last edited by willsort on 2006-5-24 at 01:14 ]
───────────────── Moderation Record ─────────────────
Executor: Will Sort
Operation: Merge the following threads
+ {20601->1}This problem is also quite strange!
+ {20650->5}My strange idea means this.
> {20646->9}The strange problem mentioned before means this!
Explanation: The operated threads have direct context connections
Punishment: Deduct 8 points, including 6 points rewarded for posting the thread and 2 points deducted for repeated thread penalty
Tip: Please visit {7326}Forum Newcomer Must-Read, Basic Code of Conduct for Everyone
───────────────── Moderation Record ─────────────────
───────────────── Moderator Prompt ─────────────────
To facilitate forum users' browsing and moderator management, please modify the title of this thread to briefly describe the content or intention of the thread.
If you confirm that the title does not need to be modified, please continue to reply to this thread to appeal. If the appeal reason is sufficient, this notification will be canceled.
If you confirm that the title needs to be modified, please click the "Edit" button below the first post of this thread and modify the title field in the editing page.
If you still do not appeal or modify within three days after this notification is issued, the moderator will modify it and impose corresponding punishment on the author.
The punishment is to deduct 8 points, including recovering 6 points rewarded for posting the thread and 2 points deducted for title violation.
After knowing that you have made a positive and appropriate response, the moderator will delete this prompt within three working days to eliminate the adverse impact on you.
───────────────── Moderator Prompt ─────────────────
Recommended title: How to open multiple programs with confirmation dialogs that require pressing Enter at one time
Last edited by willsort on 2006-5-24 at 01:14 ]
|

※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2006-5-14 23:28 |
|
|
willsort
元老会员
         Batchinger
积分 4432
发帖 1512
注册 2002-10-18
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
───────────────── 版务记录 ─────────────────
执行:Will Sort
操作:修改标题 - 20642 - 以前说的那怪怪问题就是这个意思!
说明:原主题作者在通知发出三日后仍未申诉或修改,由版主修改并进行处罚
处罚:扣除因发表该主题而奖励的6点积分,扣除标题违规惩罚性2点积分
───────────────── 版务记录 ─────────────────
───────────────── 版务记录 ─────────────────
执行:Will Sort
操作:移动主题:自《DOS疑難解答 & 問題討論 (解答室)》
说明:原版区三日内无回复,移动至此版区尝试
提示:原版区转向链接三日后将删除
───────────────── 版务记录 ─────────────────
Last edited by willsort on 2006-5-24 at 01:04 ]
───────────────── Moderation Record ─────────────────
Executor: Will Sort
Operation: Modify Title - 20642 - The strange problem mentioned before is this meaning!
Description: The original topic author did not appeal or modify within three days after the notification was issued, so the moderator modified and imposed a penalty
Punishment: Deduct 6 points of points awarded for publishing this topic, deduct 2 points of points for title violation penalty
───────────────── Moderation Record ─────────────────
───────────────── Moderation Record ─────────────────
Executor: Will Sort
Operation: Move Topic: From "DOS Difficulties & Problem Discussion (Answer Room)"
Description: No reply in the original forum area within three days, move to this forum area for an attempt
Tip: The original area transfer link will be deleted after three days
───────────────── Moderation Record ─────────────────
Last edited by willsort on 2006-5-24 at 01:04 ]
|

※ Batchinger 致 Bat Fans:请访问 批处理编程的异类 ,欢迎交流与共享批处理编程心得! |
|
2006-5-24 01:02 |
|