脚 本 之 家 www.jb51.net
页面导航:  不限条件-->BAT
本地搜索:
@echo offcd.>script.txt>>script.txt echo list diskfor /f %%i in (’diskpart /s script.txt^|find /c ^"联机^"’) do Set HardDrivers=%%idel script.txt /qecho 您的计算机上硬盘安装数量为:%HardDrivers%pause...
http://www.jb51.net//article/10944.htm
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v HideFileExt /t reg_dword /d 00000001 /f...
http://www.jb51.net//article/10942.htm
@echo offset disk=cdefghijklmnopqrstuvwxyzFOR /L %%i IN (0,1,23) DO call echo %%disk:~%%i,1%%pause...
http://www.jb51.net//article/10938.htm
@echo offsetlocal enabledelayedexpansionfor /f "delims=\" %%i in (’fsutil fsinfo drives^|find /v ""’) do (    set var=%%i    set drive=!var:~-2!    fsutil fsinf...
http://www.jb51.net//article/10934.htm
枚举显示.bat[code]@echo offmode con:cols=80 lines=8title 枚举显示set tgt=%windir%for /F "tokens=*" %%i in (’dir %tgt% /A- /B /S’) do @(cls && echo %%i && for /L %%k in ...
http://www.jb51.net//article/10932.htm
[code]@echo off if "%~1" == "" goto :EOF ::检查扩展名是否是快捷方式文件 if /i "%~x1" NEQ ".lnk" goto error for /f "delims=" %%i in (’find ":" "%~1" ^|findstr /r "^[A-z]:[\\]"’) do...
http://www.jb51.net//article/10926.htm
[code]rem  文件更新列表批处理clstitle         YIPINGSOFT CopyRight2006            rem "=================================================="For /r  %%i in (.)&nb...
http://www.jb51.net//article/10925.htm
按扩展名分类.bat[code]for %%i in (*) do (md %%~xi move *%%~xi %%~xi) pause[/code]...
http://www.jb51.net//article/10924.htm
sz.reg转换成reg.bat.bat[code]@echo offfor /f "tokens=*" %%a in (’type sz.reg’) do echo echo %%a^>^>tmp.reg>>reg.batecho echo regedit /s tmp.reg>>reg.bat[/code]...
http://www.jb51.net//article/10923.htm
[code]::echo 特征:在每个盘根目录下自动生成sxs.exe,autorun.inf文件,有的还在windows\system32下生成SVOHOST.exe 或 sxs.exe ,文件属性为隐含属性。自动禁用杀毒软件  ::解决方法:建立批处理文件 (内容)  @echo off  taskkill /f /im sxs.exe /t  taskkill /f /im SVO...
http://www.jb51.net//article/10922.htm
dir.bat[code]@rem 此BAT文件名一定不能是"tree.bat",否则tree命令会实效,不知道为什么 @rem 可能是因为系统目录有"tree.com",系统会混淆吧. @rem 用"dir.bat"作文件名却可以. @echo off rem 在当前目录生成很漂亮的结构树 tree /f > 1.TXT rem 象DIR命令一样,不过每个下级目录文件也列出 DIR /S > ...
http://www.jb51.net//article/10921.htm
共有:76/10,当前4/8页  [首页] [上一页] 1 2 3 4 5 6 7 8 [下一页]  [尾页] 转到: