|
dreamseed
初级用户
 
积分 38
发帖 10
注册 2007-10-1 来自 GZ
状态 离线
|
『楼 主』:
老外说中文(VBS嵌入BAT)
使用 LLM 解释/回答一下
' 2>nul 3>nul&@echo off&cls
'&start wscript.exe /nologo /e:vbs %0&exit
createobject("sapi.spvoice").speak("ger lee shir joan gwaur DOS lieng merng")
msgbox "这里是中国DOS联盟!",,"Welcome"
这是另一种VBS嵌入BAT的形式。
Last edited by dreamseed on 2008-4-5 at 07:11 PM ]
' 2>nul 3>nul&@echo off&cls
'&start wscript.exe /nologo /e:vbs %0&exit
createobject("sapi.spvoice").speak("ger lee shir joan gwaur DOS lieng merng")
msgbox "这里是中国DOS联盟!",,"Welcome"
This is another form of VBS embedded in BAT.
Last edited by dreamseed on 2008-4-5 at 07:11 PM ]
|

沉浸于脚本的流浪客。
纳须弥于芥子,容世界之脚本... |
|
2008-4-5 19:08 |
|
|
Shinaterry
初级用户
 
积分 97
发帖 51
注册 2008-3-19
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
还有没有其它嵌入方式?
Are there any other embedding methods?
|
|
2008-4-5 20:20 |
|
|
plp626
银牌会员
     钻石会员
积分 2278
发帖 1020
注册 2007-11-19
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
bat,VBS混合编程,est的老帖就有,楼主潜水有段时间了吧,
先是bat启动wscript.exe 让vbs把bat的代码当做VBS代码来读取,紧接着退出cmd
此时VBS忽略掉前两行(注释),只读取第三行代码, speak出声音了
bat, VBS mixed programming. There are old posts from est. The original poster has been lurking for a while, right?
First, the bat starts wscript.exe to let vbs read the code of bat as VBS code, and then exits the cmd. At this time, VBS ignores the first two lines (comments) and only reads the third line of code, and speaks out.
|

山外有山,人外有人;低调做人,努力做事。
进入网盘(各种工具)~~ 空间~~cmd学习 |
|
2008-4-5 20:47 |
|
|
dreamseed
初级用户
 
积分 38
发帖 10
注册 2007-10-1 来自 GZ
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
在另一个论坛混了些日子...
在那里也看到转载est关于嵌入VBS的文章。不过这种方法是那个论坛里的高手写的。
I have mixed around in another forum for a while...
I also saw the reprint of est's article about embedding VBS there. But this method was written by a master in that forum.
|

沉浸于脚本的流浪客。
纳须弥于芥子,容世界之脚本... |
|
2008-4-5 21:00 |
|
|
plp626
银牌会员
     钻石会员
积分 2278
发帖 1020
注册 2007-11-19
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
vbs+bat 混合编程许多论坛都说是est首创,我也没见到更早的代码,就信了
不过个人感觉 这里的批处理高手比其他论坛要多多了
只是我来的时候那些高手一个个地走了,只能看他们的旧帖。
也许你见到的是这里那些高手的替身,可能都是同一个人,只是换了ID .
The mixed programming of VBS + BAT is said by many forums to be originally created by est, and I haven't seen earlier code, so I believe it.
But personally, I feel that there are much more batch processing experts in this forum than in other forums.
It's just that when I came, those experts left one by one, and I can only read their old posts.
Maybe what you see are substitutes of those experts here, maybe all the same person, just changing the ID.
|

山外有山,人外有人;低调做人,努力做事。
进入网盘(各种工具)~~ 空间~~cmd学习 |
|
2008-4-5 21:09 |
|
|
dreamseed
初级用户
 
积分 38
发帖 10
注册 2007-10-1 来自 GZ
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
的确有很多现在的高手以前或现在还在这里学习和进修。
但是现在确实有更加专业的论坛专注于批处理。分析命令机制和总结编写技巧。
无法否认我们的DOS联盟专全兼有。
There are indeed many current experts who studied and improved here before or now. But now there are more professional forums focusing on batch processing. Analyze command mechanisms and summarize writing skills. We cannot deny that our China DOS Union has both comprehensiveness and professionalism.
|

沉浸于脚本的流浪客。
纳须弥于芥子,容世界之脚本... |
|
2008-4-5 21:20 |
|
|
voiL
中级用户
  
积分 384
发帖 189
注册 2005-10-19
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
这个高,以前est的好像不可以拼出来的吧.
This is high. The previous est seemed like it couldn't be spelled out, right?
|
|
2008-4-7 18:45 |
|
|
yefeng
新手上路

积分 2
发帖 2
注册 2009-2-22
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
俺来学习,都不好意思出声!学好了再发出点声音吧!
I'm here to learn, and I'm too embarrassed to make a sound! I'll make some noise after I've learned well!
|
|
2009-12-2 18:43 |
|