下面几个bat文件示例,希望对你有点用处,根据需要自己修改一下再使用。
删除默认共享(别存为bat文件放在开始菜单中):net_share_delete.bat,删除默认共享的另一个种方法
netshareipc$/delete
netshareadmin$/delete
netsharec$/delete
netshared$/delete
netsharee$/delete
...
登陆到局域网的机器快捷方式(对方机器有密码且为2000或以上系统)nethood.bat
netuse192.168.0.20[密码]/user:[用户名]
explorer192.168.0.20
批处理中的循环newfolder.bat
@ECHOOFF
SET/Acounter=0
:top
SET/Acounter=%counter%+1
ECHO运行第%counter%次
mdfolder%counter%
if%counter%LSS10GOTO:top
ECHORuncomplete
删除临时文件夹中的文件(window2000或以上操作系统)del_tempfile.bat
cd/d%temp%
del*.*/s/q
解决IE无法在新窗口中打开链接的问题,关闭所有的ie窗口,运行下面内容的batiedll.bat
Regsvr32urlmon.dll
Regsvr32actxprxy.dll
Regsvr32shdocvw.dll
Regsvr32oleaut32.dll
重命名从IE临时文件夹中拷贝的文件renameIEtempfile.bat(从TemporaryInternetFiles复制过来的文件都会在文件名上加上[1]或者[n],用此bat文件可以很快的给他们改名)
rename?[1].*?.*
rename??[1].*??.*
rename???[1].*???.*
rename????[1].*????.*
rename?????[1].*?????.*
rename??????[1].*??????.*
rename???????[1].*???????.*
rename????????[1].*????????.*
rename?????????[1].*?????????.*
rename??????????[1].*??????????.*
rename???????????[1].*???????????.*
rename????????????[1].*????????????.*
rename?????????????[1].*?????????????.*
rename??????????????[1].*??????????????.*
rename???????????????[1].*???????????????.*
rename????????????????[1].*????????????????.*
rename?????????????????[1].*?????????????????.*
rename??????????????????[1].*??????????????????.*
rename???????????????????[1].*???????????????????.*
rename????????????????????[1].*????????????????????.*
rename?????????????????????[1].*?????????????????????.*
rename??????????????????????[1].*??????????????????????.*
rename???????????????????????[1].*???????????????????????.*
rename????????????????????????[1].*????????????????????????.*
rename?????????????????????????[1].*?????????????????????????.*
rename??????????????????????????[1].*??????????????????????????.*
rename???????????????????????????[1].*???????????????????????????.*
rename????????????????????????????[1].*????????????????????????????.*
rename?????????????????????????????[1].*?????????????????????????????.*
rename??????????????????????????????[1].*??????????????????????????????.*
rename???????????????????????????????[1].*???????????????????????????????.*
rename????????????????????????????????[1].*????????????????????????????????.*
rename?????????????????????????????????[1].*?????????????????????????????????.*
rename??????????????????????????????????[1].*??????????????????????????????????.*
rename???????????????????????????????????[1].*???????????????????????????????????.*