返回列表 发帖

[其他] 只1k的延迟程序:sleep.com

不知道有人发过没,反正我搜索sleep是没有结果的~

这是是一个由德国人Herbert Kleebauer写的程序,可以让批处理延迟的一个程序

你或许会说,为何要用这个呢?ping -n 2 127.1>nul不就行了么?
但你要知道,ping的延迟单位是1秒,也就是说你要延迟半秒的话就不行了~

而这个sleep.com不同,因为单位是毫秒,

用法很简单:sleep 《毫秒》

也就是说 sleep 1000 会延迟1秒,sleep 500 会延迟半秒,sleep 200 会延迟5分之一秒!
看到这个程序的强大了么?而且这个程序还可以通过debug来生产的哦!
echo q | debug>nul
echo Bj@jzh`0X-`/PPPPPPa(DE(DM(DO(Dh(Ls(Lu(LX(LeZRR]EEEUYRX2Dx=>sleep.exe
echo 0DxFP,0Xx.t0P,=XtGsB4o@$?PIyU WwX0GwUY Wv;ovBX2Gv0ExGIuht6>>sleep.exe
echo T}{z~~@GwkBG@OEKcUt`~}@MqqBsy?seHB~_Phxr?@zAB`LrPEyoDt@Cj?>>sleep.exe
echo pky_jN@QEKpEt@ij?jySjN@REKpEt@jj?jyGjN@SEKkjtlGuNw?p@pjirz>>sleep.exe
echo LFvAURQ?OYLTQ@@?~QCoOL~RDU@?aU?@{QOq?@}IKuNWpe~FpeQFwH?Vkk>>sleep.exe
echo _GSqoCvH{OjeOSeIQRmA@KnEFB?p??mcjNne~B?M??QhetLBgBPHexh@e=>>sleep.exe
echo EsOgwTLbLK?sFU`?LDOD@@K@xO?SUudA?_FKJ@N?KD@?UA??O}HCQOQ??R>>sleep.exe
echo _OQOL?CLA?CEU?_FU?UAQ?UBD?LOC?ORO?UOL?UOD?OOI?UgL?LOR@YUO?>>sleep.exe
echo dsmSQswDOR[BQAQ?LUA?_L_oUNUScLOOuLOODUO?UOE@OwH?UOQ?DJTSDM>>sleep.exe
echo QTqrK@kcmSULkPcLOOuLOOFUO?hwDTqOsTdbnTQrrDsdFTlnBTm`lThKcT>>sleep.exe
echo @dmTkRQSoddTT~?K?OCOQp?o??Gds?wOw?PGAtaCHQvNntQv_w?A?it\EH>>sleep.exe
echo {zpQpKGk?Jbs?FqokOH{T?jPvP@IQBDFAN?OHROL?Kj??pd~aN?OHROd?G>>sleep.exe
echo Q??PGT~B??OC~?ipO?T?~U?p~cUo0x>>sleep.exe
sleep.exe>sleep.com
erase /f /q sleep.exeCOPY
以上的代码可以加入批处理中,会在批处理的当前目录制作一个sleep.com出来~
而且制作只需1~2秒的时间哦~
所以,你要发布你的批处理时就不必再加sleep.com在压缩包里,只需要放以上的代码在你的批处理中~

链接: https://pan.baidu.com/s/14myPE6u81eAQVd_iQCFoAQ 提取码: f42m
为何批处理不适合做界面
为何随风讨厌call命令
http://bbs.bathome.net/thread-4482-1-10.html

very good!
[color=BLUE]一切只为了批处理&DOS[/color]

TOP

我帮忙写的代码不需要付钱。如果一定要给,请在微信群或QQ群发给大家吧。
【微信公众号、微信群、QQ群】http://bbs.bathome.net/thread-3473-1-1.html
【支持批处理之家,加入VIP会员!】http://bbs.bathome.net/thread-67716-1-1.html

TOP

联盟时的帖子;备份一下:
@echo off
:: createsleep.bat;
:: 生成sleep.exe;
(
echo q | debug>nul
echo Bj@jzh`0X-`/PPPPPPa(DE(DM(DO(Dh(Ls(Lu(LX(LeZRR]EEEUYRX2Dx=
echo 0DxFP,0Xx.t0P,=XtGsB4o@$?PIyU WwX0GwUY Wv;ovBX2Gv0ExGIuht6
echo T}{z~~@GwkBG@OEKcUt`~}@MqqBsy?seHB~_Phxr?@zAB`LrPEyoDt@Cj?
echo pky_jN@QEKpEt@ij?jySjN@REKpEt@jj?jyGjN@SEKkjtlGuNw?p@pjirz
echo LFvAURQ?OYLTQ@@?~QCoOL~RDU@?aU?@{QOq?@}IKuNWpe~FpeQFwH?Vkk
echo _GSqoCvH{OjeOSeIQRmA@KnEFB?p??mcjNne~B?M??QhetLBgBPHexh@e=
echo EsOgwTLbLK?sFU`?LDOD@@K@xO?SUudA?_FKJ@N?KD@?UA??O}HCQOQ??R
echo _OQOL?CLA?CEU?_FU?UAQ?UBD?LOC?ORO?UOL?UOD?OOI?UgL?LOR@YUO?
echo dsmSQswDOR[BQAQ?LUA?_L_oUNUScLOOuLOODUO?UOE@OwH?UOQ?DJTSDM
echo QTqrK@kcmSULkPcLOOuLOOFUO?hwDTqOsTdbnTQrrDsdFTlnBTm`lThKcT
echo @dmTkRQSoddTT~?K?OCOQp?o??Gds?wOw?PGAtaCHQvNntQv_w?A?it\EH
echo {zpQpKGk?Jbs?FqokOH{T?jPvP@IQBDFAN?OHROL?Kj??pd~aN?OHROd?G
echo Q??PGT~B??OC~?ipO?T?~U?p~cUo0x
)>sleep.com
sleep.com>sleep.exe
del sleep.comCOPY

TOP

回复 3# Batcher


    不错一下~ 但是帖子也太旧了吧?建议将帖子置顶~ 而且你帖子里的code,感觉怪怪的,每次用完sleep.com就delete?难道每次延迟都要做一个?
为何批处理不适合做界面
为何随风讨厌call命令
http://bbs.bathome.net/thread-4482-1-10.html

TOP

不错哦,学习了

TOP

不知道为什么,sleep 参数太低就不准确了

TOP

回复 1# raymai97
你繞了一個大圈,結果做的只是一句"Wscript.Sleep Wscript.Arguments(0)"      =.=

run.bat
@echo off&set n=0
for /l %%i in (*) do call echo %%n%% &set/a n+=1& wscript sleep.vbs 1000COPY
sleep.vbs
Wscript.Sleep Wscript.Arguments(0)COPY
跑跑看叭
带内地用语或带里语的文章,在下读写总觉有点吃力;
如误解了各位意思的讲勿见怪   ^_^

TOP

回复 8# Taurus


    你的代码也不错, 不过有平台限制,是不能在win9x下运行的.楼主的则可以,连dos下也可以

TOP

返回列表