|
hxuan999
中级用户
   DOS之日
积分 337
发帖 161
注册 2006-11-4
状态 离线
|
『第 46 楼』:
使用 LLM 解释/回答一下
确实是不像下雨,楼上这个也不像.想不出用什么方法可以有下雨的感觉,多一个处理CPU就是%100,到底为什么,我想应该再开一个贴子讨论一下BAT脚本的执行效率问题,分开在纯DOS下和CMD下和情况,对各条常用语句讨论一下.
:o
It really doesn't look like rain, and the one upstairs doesn't either. I can't think of any way to have the feeling of rain. Having one more CPU is 100%, but why exactly? I think I should start another thread to discuss the execution efficiency of BAT scripts, separating the situations under pure DOS and CMD, and discussing each common statement.
:o
|

for /f %%h in (`echo hxuan`) do for /f %%x in (`echo hxuan`) do if %%h==%%x nul |
|
2006-11-16 22:23 |
|
|
hxuan999
中级用户
   DOS之日
积分 337
发帖 161
注册 2006-11-4
状态 离线
|
『第 47 楼』:
使用 LLM 解释/回答一下
O={]:::::>>无奈何,这几天怎么不见人了???研究成果呢???
O={]:::::>>Helpless, why haven't I seen anyone these days??? Where are the research results???
|

for /f %%h in (`echo hxuan`) do for /f %%x in (`echo hxuan`) do if %%h==%%x nul |
|
2006-11-16 22:25 |
|
|
zouzhxi
中级用户
   蝴蝶之吻
积分 430
发帖 177
注册 2006-9-20 来自 广东深圳
状态 离线
|
『第 48 楼』:
使用 LLM 解释/回答一下
Re 45F:
但经过测试有点小问题,就是直接按右上角的XX关闭的时候可能导致重启.
不会重启呀。。
Re 45F:
But after testing, there is a small problem. When you directly click the XX in the upper right corner to close, it may cause a restart.
It won't restart.
|

Butterfly Kiss Blog
计算机DIY联盟论坛 |
|
2006-11-17 01:56 |
|
|
newaifi
初级用户
 
积分 154
发帖 67
注册 2006-10-31
状态 离线
|
『第 49 楼』:
使用 LLM 解释/回答一下
感觉无奈何的这段代码比较完善。。 就是速度跟不上 其他没什么大问题。。
**********************************************************
- @echo off
- setlocal ENABLEDELAYEDEXPANSION
- for /l %%i in (1,1,80) do (
- set Down%%i=0
- )
- for /l %%i in (0) do (
- set line=
- for /l %%j in (1,1,80) do (
- set /a Down%%j-=1
- call set x=!down%%j!
- if !x! LSS 0 (
- set /a Arrow%%j=!random!%%6
- set /a Down%%j=!random!%%15+10
- )
- call set x=!Arrow%%j!
- if "!x!" == "1" (
- set line=!line!1
- ) else (set "line=!line! ")
- )
- call set /p=!line!<nul
- )
韩和发表于: 2006-11-16 13:54
I feel helpless that this code is relatively complete. It's just that the speed can't keep up, and there are no other major problems.
**********************************************************
- @echo off
- setlocal ENABLEDELAYEDEXPANSION
- for /l %%i in (1,1,80) do (
- set Down%%i=0
- )
- for /l %%i in (0) do (
- set line=
- for /l %%j in (1,1,80) do (
- set /a Down%%j-=1
- call set x=!down%%j!
- if !x! LSS 0 (
- set /a Arrow%%j=!random!%%6
- set /a Down%%j=!random!%%15+10
- )
- call set x=!Arrow%%j!
- if "!x!" == "1" (
- set line=!line!1
- ) else (set "line=!line! ")
- )
- call set /p=!line!<nul
- )
Han He posted on: 2006-11-16 13:54
|
|
2006-11-17 02:51 |
|
|
xiaochaihu
初级用户
 
积分 20
发帖 9
注册 2006-10-16
状态 离线
|
『第 50 楼』:
使用 LLM 解释/回答一下
小弟批处理没学多久,复杂命令不会用,就用笨方法做了一下,代码如下,要最大化看,而且眼要离屏幕远点.
与人的视觉有关,只有这么多的时候才有效果.
@echo off
color 02
:word
echo s k f j o as/ d k;/f a s ll/ d k f mj . l s. f k la d f k j/;/ a d k f j/ sd f k as l ff ff f f gf f f . f d f f f e f
f ;s k k a j d f i j s d .; '
Last edited by xiaochaihu on 2006-11-18 at 06:55 AM ]
Little brother has been learning batch processing for not long, and doesn't know how to use complex commands, so he did it the clumsy way. The code is as follows. To see it maximized, and you need to keep your eyes far away from the screen.
It has to do with human vision, only when there are this many characters does it have an effect.
@echo off
color 02
:word
echo s k f j o as/ d k;/f a s ll/ d k f mj . l s. f k la d f k j/;/ a d k f j/ sd f k as l ff ff f f gf f f . f d f f f e f
f ;s k k a j d f i j s d .; '
Last edited by xiaochaihu on 2006-11-18 at 06:55 AM ]
|
|
2006-11-17 09:37 |
|
|
xiaochaihu
初级用户
 
积分 20
发帖 9
注册 2006-10-16
状态 离线
|
『第 51 楼』:
使用 LLM 解释/回答一下
我又看了一下,从这上面直接复制过去不行,可能是发帖时自动加了回车符.
I took another look. Copying directly from here doesn't work. Maybe carriage returns are added automatically when posting.
|
|
2006-11-17 10:03 |
|
|
hxuan999
中级用户
   DOS之日
积分 337
发帖 161
注册 2006-11-4
状态 离线
|
『第 52 楼』:
使用 LLM 解释/回答一下
你的代码是这吗?
- @echo off
- color 02
- :word
- echo s k f j o as/ d k;/f a s ll/ d k f mj . l s. f k la d f k j/;/ a d k f j/ sd f k as l ff ff f f gf f f . f d f f f e f f ;s k k a j d f i j s d .; '
echo a s d f j s o e f s l d k n m s l d,f m m m m b m c m . m r m m x s s s d . a s d o f i u ;e e / e e f k d n s u d t 7 e w d f s l d 'p o am=d mm d 9 u ldm a8 d f s dkfma s d fa ea' ed . fam asdf n 9 8 a sdf as df as d uf ad fl as dfas uyd fa df .a / s d f a sd fa echo k o q o z o o i h h f e n m m x m m e m ' f u c u s u; m u y u t u u r . r r r o o s ; l a s d u y e d d b b d d b s s y s o9 echo k d i i k o i h h i h j h . i s a d s d j a s i d f s d a i s d 8 f s j d s k d i u f h s d f j k k d j f s d f . d j f i d u f .fc l k d 9 c sd ;f s d fa s m d g a 6 rs d t s ad s d f s d echo a s d f n a s d k f j a o s i d . i s d f h . i s d f h .a s d s o . s d i f a o s d f s kd o s d f a ; s echo a s d k f a s l d k f j l s f j k k d j f s d f echo s d f j k k d j f . s d f . d j f i d u f m m x m m e m m f . u cv u s u u m u y u t u f f f e f f s k k a j d f ib s s y s o9 echo d sdl; dlf ladkj o l diu f ask d fm dk f o di fu n as df df ao s dfa ' sd f 'as d f a goto word
hxuan?表ー: 2006-11-17 11:09
有点乱,但不是下雨呀.
Is this your code?
- @echo off
- color 02
- :word
- echo s k f j o as/ d k;/f a s ll/ d k f mj . l s. f k la d f k j/;/ a d k f j/ sd f k as l ff ff f f gf f f . f d f f f e f f ;s k k a j d f i j s d .; '
echo a s d f j s o e f s l d k n m s l d,f m m m m b m c m . m r m m x s s s d . a s d o f i u ;e e / e e f k d n s u d t 7 e w d f s l d 'p o am=d mm d 9 u ldm a8 d f s dkfma s d fa ea' ed . fam asdf n 9 8 a sdf as df as d uf ad fl as dfas uyd fa df .a / s d f a sd fa echo k o q o z o o i h h f e n m m x m m e m ' f u c u s u; m u y u t u u r . r r r o o s ; l a s d u y e d d b b d d b s s y s o9 echo k d i i k o i h h i h j h . i s a d s d j a s i d f s d a i s d 8 f s j d s k d i u f h s d f j k k d j f s d f . d j f i d u f .fc l k d 9 c sd ;f s d fa s m d g a 6 rs d t s ad s d f s d echo a s d f n a s d k f j a o s i d . i s d f h . i s d f h .a s d s o . s d i f a o s d f s kd o s d f a ; s echo a s d k f a s l d k f j l s f j k k d j f s d f echo s d f j k k d j f . s d f . d j f i d u f m m x m m e m m f . u cv u s u u m u y u t u f f f e f f s k k a j d f ib s s y s o9 echo d sdl; dlf ladkj o l diu f ask d fm dk f o di fu n as df df ao s dfa ' sd f 'as d f a goto word
hxuan?表ー: 2006-11-17 11:09
A bit messy, but not raining.
|

for /f %%h in (`echo hxuan`) do for /f %%x in (`echo hxuan`) do if %%h==%%x nul |
|
2006-11-18 00:09 |
|
|
xiaochaihu
初级用户
 
积分 20
发帖 9
注册 2006-10-16
状态 离线
|
『第 53 楼』:
使用 LLM 解释/回答一下
这只是个利用人有视觉,屏幕刷新快之后,有种字符是往下去的感觉,看不清楚是什么字符,那些字符是我随便打上去的.我是新手,哪位大哥能给介绍一下环境变量和FOR命令吗.就是那些加%的到底指的是什么文件夹,小弟迫切想知道.
Last edited by xiaochaihu on 2006-11-18 at 07:01 AM ]
This is just using the fact that people have vision and the screen refreshes quickly, so there is a feeling that the characters are going down, and it's not clear what the characters are. Those characters are what I typed randomly. I'm a newbie. Which big brother can introduce environment variables and the FOR command to me? That is, what folder does the one with % refer to exactly? Little brother is urgently eager to know.
Last edited by xiaochaihu on 2006-11-18 at 07:01 AM ]
|
|
2006-11-18 06:49 |
|
|
hxuan999
中级用户
   DOS之日
积分 337
发帖 161
注册 2006-11-4
状态 离线
|
『第 54 楼』:
使用 LLM 解释/回答一下
Originally posted by xiaochaihu at 2006-11-17 18:49:
这只是个利用人有视觉,屏幕刷新快之后,有种字符是往下去的感觉,看不清楚是什么字符,那些字符是我随便打上去的.我是新手,哪位大哥能给介绍一下玠...
FOR你可以去看一下这个贴
最强之dos命令 – for (是新手学习FOR语句的好资料)
至于那些%,我记的有个贴,找不到了.你可以先看一下这个个贴
DOS命令技巧集锦
Originally posted by xiaochaihu at 2006-11-17 18:49:
This is just using the fact that people have vision and the screen refreshes quickly, so there is a feeling that some characters are going downward, and it's not clear what the characters are. Those characters are what I typed randomly. I'm a newbie. Can any elder introduce Jie...
FOR you can go and take a look at this post
The Strongest DOS Command – for (It's a good resource for newbies to learn the FOR statement)
As for those %, I remember there is a post, but I can't find it. You can first take a look at this post
Collection of DOS Command Tips
|

for /f %%h in (`echo hxuan`) do for /f %%x in (`echo hxuan`) do if %%h==%%x nul |
|
2006-11-21 02:16 |
|
|
srleopard
初级用户
 
积分 29
发帖 15
注册 2006-11-21
状态 离线
|
|
2006-11-22 02:09 |
|
|
vlq5299
初级用户
 
积分 136
发帖 59
注册 2006-6-2
状态 离线
|
『第 56 楼』:
使用 LLM 解释/回答一下
执行没有结果,为什么?
Why is there no result when executing?
|
|
2006-12-5 03:23 |
|
|
tghksj
社区乞丐
此图片另存后死机
积分 -49
发帖 90
注册 2006-12-2
状态 离线
|
『第 57 楼』:
使用 LLM 解释/回答一下
脑袋要炸开锅了....
无奈何的代码逐行看了近2个小时...
竟然没看出来是如何输出的.......哭...........
-------------------------------------
............又看了两个小时.....
看懂了.......
无奈何写这个脚本用了多长时间???
我光看就用了4个多小时.......
Last edited by tghksj on 2006-12-6 at 11:43 AM ]
The brain is about to explode....
After reading the code line by line helplessly for nearly 2 hours...
I didn't even figure out how it outputs....... Cry...........
-------------------------------------
............Looked at it for another two hours.....
Understood.......
How long did it take to write this script helplessly???
It took me more than 4 hours just to read it.......
[[i] Last edited by tghksj on 2006-12-6 at 11:43 AM [/i]]
|
|
2006-12-6 23:48 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 58 楼』:
使用 LLM 解释/回答一下
无奈何版主的代码……论坛上能深刻理解的没几个人
There's no help for it, the version owner's code... There aren't many people on the forum who can deeply understand it.
|

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-12-7 00:55 |
|
|
scriptor
银牌会员
    
积分 1187
发帖 555
注册 2006-12-21
状态 离线
|
『第 59 楼』:
赞
使用 LLM 解释/回答一下
那就先赞一个
强悍啊
Then give a thumbs up first.
Powerful!
|
|
2006-12-24 02:58 |
|
|
gne3
高级用户
    DOS学徒
积分 526
发帖 252
注册 2007-2-12
状态 离线
|
|
2007-2-18 04:06 |
|