<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>鸟儿博客 - 批处理bat</title><link>http://www.birdol.com/</link><description>Nobird's Blog~用文字见证每一天~ - </description><generator>RainbowSoft Studio Z-Blog 1.8 Walle Build 91204</generator><language>zh-CN</language><copyright>&amp;amp;copy; 2007-2009 Birdol.Com. Some Right Reserved. Power By Z-Blog. 苏ICP备09012946号.  </copyright><pubDate>Wed, 08 Sep 2010 20:42:13 +0800</pubDate><item><title>Robocopy 强大的命令行复制工具</title><author>admin@birdol.com (nobird)</author><link>http://www.birdol.com/article/704.html</link><pubDate>Fri, 22 Jan 2010 11:38:00 +0800</pubDate><guid>http://www.birdol.com/article/704.html</guid><description><![CDATA[<p>此工具在xp resource kit 和 vista/win7中可以找到，多线程复制，而且默认复制的时候只复制那些时间戳不同或者大小不一样的文件。</p><br/><p>事实上在win7/vista中文件复制速度已经大大超过了xp下文件复制的速度，而xp如果要复制一个很大的文件就比较耗时，使用此工具可以加快很多。</p><br/><p>下面是使用帮助，有点繁琐，用起来很爽…</p>]]></description><category>批处理bat</category><comments>http://www.birdol.com/article/704.html#comment</comments><wfw:comment>http://www.birdol.com/</wfw:comment><wfw:commentRss>http://www.birdol.com/feed.asp?cmt=704</wfw:commentRss><trackback:ping>http://www.birdol.com/cmd.asp?act=tb&amp;id=704&amp;key=cbdea08d</trackback:ping></item><item><title>删除文本中重复的行</title><author>admin@birdol.com (nobird)</author><link>http://www.birdol.com/article/687.html</link><pubDate>Tue, 29 Dec 2009 11:49:07 +0800</pubDate><guid>http://www.birdol.com/article/687.html</guid><description><![CDATA[<p>一段批处理删除文本中重复的行，可以用于文本筛选去处重复行，效果和 <a target="_blank"  href="http://www.birdol.com/article/flash-tag.html">[Flash 标签云 For Zblog 1.8]</a> 的第二个批处理差不多</p>。<br/>[code]<br/>@echo off<br/>(echo 清除重复行后的文件内容：& echo.)>b.txt<br/>for /f "delims=" %%i in (a.txt) do (<br/>if not defined %%i set %%i=A & echo %%i>>b.txt)<br/>...]]></description><category>批处理bat</category><comments>http://www.birdol.com/article/687.html#comment</comments><wfw:comment>http://www.birdol.com/</wfw:comment><wfw:commentRss>http://www.birdol.com/feed.asp?cmt=687</wfw:commentRss><trackback:ping>http://www.birdol.com/cmd.asp?act=tb&amp;id=687&amp;key=c83d6b04</trackback:ping></item><item><title>微软CRC32命令行工具</title><author>admin@birdol.com (nobird)</author><link>http://www.birdol.com/article/685.html</link><pubDate>Mon, 28 Dec 2009 10:43:46 +0800</pubDate><guid>http://www.birdol.com/article/685.html</guid><description><![CDATA[<p>微软提供的CRC32校验工具，虽然CRC32没有MD5，SHA1那么唯一，但是在小范围内绝对是可以用的。</p><p>CRC Verification Utility, Version 3.05<br/>Copyright (C) Microsoft, 1992-1997<br/>Usage: CRC { filename | x: } [options]</p>]]></description><category>批处理bat</category><comments>http://www.birdol.com/article/685.html#comment</comments><wfw:comment>http://www.birdol.com/</wfw:comment><wfw:commentRss>http://www.birdol.com/feed.asp?cmt=685</wfw:commentRss><trackback:ping>http://www.birdol.com/cmd.asp?act=tb&amp;id=685&amp;key=5a7eee54</trackback:ping></item><item><title>NTFS压缩工具Compact.exe</title><author>admin@birdol.com (nobird)</author><link>http://www.birdol.com/article/681.html</link><pubDate>Thu, 24 Dec 2009 19:22:57 +0800</pubDate><guid>http://www.birdol.com/article/681.html</guid><description><![CDATA[<p>近期写一些不常见的批处理工具，微软提供的一些工具并没有全部列在帮助列表，甚至有些程序并没有提供到系统中，但是他们是命令行的，很好很强大~</p><p>Compact.exe是一个命令行工具，它在C:\windows\System32文件夹中，使用它能显示或改变 NTFS 分区上文件的压缩.，也可以查看特定文件和文件夹的压缩状态。该程序的语法形式为：<br/>[QUOTE]<br/>COMPACT [/C | /U] [/S[:dir]] [/A] [/I] [/F] [/Q] [filename [...]]<br/>...</p>]]></description><category>批处理bat</category><comments>http://www.birdol.com/article/681.html#comment</comments><wfw:comment>http://www.birdol.com/</wfw:comment><wfw:commentRss>http://www.birdol.com/feed.asp?cmt=681</wfw:commentRss><trackback:ping>http://www.birdol.com/cmd.asp?act=tb&amp;id=681&amp;key=92013055</trackback:ping></item><item><title>一键复制文件路径</title><author>admin@birdol.com (nobird)</author><link>http://www.birdol.com/article/648.html</link><pubDate>Sun, 08 Nov 2009 08:43:24 +0800</pubDate><guid>http://www.birdol.com/article/648.html</guid><description><![CDATA[网上找来的一个东西，觉得不错，分享下~<br/>问题起源：<br/>...<br/><p>解决方法是个批处理，实际上是对注册表的操作添加右键菜单，调用vbs命令实现控制剪贴板内容的效果。<br/>reg add HKCR\*\shell\CopyPath\Command /ve /d "mshta vbscript:clipboarddata.setdata("""text""","""%%1""")(close)"<br/>reg delete HKCR\*\shell\CopyPath /f<br/>测试，支持...]]></description><category>批处理bat</category><comments>http://www.birdol.com/article/648.html#comment</comments><wfw:comment>http://www.birdol.com/</wfw:comment><wfw:commentRss>http://www.birdol.com/feed.asp?cmt=648</wfw:commentRss><trackback:ping>http://www.birdol.com/cmd.asp?act=tb&amp;id=648&amp;key=61d55276</trackback:ping></item><item><title>一个无聊批处理作品</title><author>admin@birdol.com (nobird)</author><link>http://www.birdol.com/article/608.html</link><pubDate>Sat, 19 Sep 2009 17:50:36 +0800</pubDate><guid>http://www.birdol.com/article/608.html</guid><description><![CDATA[<p>无聊人写无聊作品大概说的就是我了，有人需要，于是乎这个无聊的东东就出现了。</p><p>原问题：自己的电脑不喜欢别人乱动，所以希望借助shutdown这个命令来关机，希望能有2个或者多个批处理来实现自动关机，希望实现的功能，第一次自动关机，第二次（或者三次）再开就可以正常使用，最好给说明每行的作用，先谢过了</p><p>解决方法如下：复制以下内容到记事本，保存为批处理。</p>[code=bat]<br/>@echo off<br/>if exist C:\nobird.txt (goto aa) else (goto bb)<br/>...]]></description><category>批处理bat</category><comments>http://www.birdol.com/article/608.html#comment</comments><wfw:comment>http://www.birdol.com/</wfw:comment><wfw:commentRss>http://www.birdol.com/feed.asp?cmt=608</wfw:commentRss><trackback:ping>http://www.birdol.com/cmd.asp?act=tb&amp;id=608&amp;key=9d0355e7</trackback:ping></item><item><title>批量提取IE缓存中指定类型的文件</title><author>admin@birdol.com (nobird)</author><link>http://www.birdol.com/article/562.html</link><pubDate>Thu, 07 May 2009 18:17:17 +0800</pubDate><guid>http://www.birdol.com/article/562.html</guid><description><![CDATA[复制以下内容保存为bat运行即可。<br/>[code=bat]<br/>@ECHO off<br/>:head<br/>title 批量提取IE缓存中指定类型的文件<br/>color 3f<br/>cls<br/><br/>:init<br/>set fileType=<br/>set saveDir=<br/>set choice=<br/>:inputType<br/>echo ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■<br/>echo.<br/>echo      请输入你要复制的文件类型，例如你要提取jpg文件，则输入jpg<br/>echo 你也可以同时输入多个类型用逗号分隔开，例如jpg,txt,swf则提取<br/>...[/code]]]></description><category>批处理bat</category><comments>http://www.birdol.com/article/562.html#comment</comments><wfw:comment>http://www.birdol.com/</wfw:comment><wfw:commentRss>http://www.birdol.com/feed.asp?cmt=562</wfw:commentRss><trackback:ping>http://www.birdol.com/cmd.asp?act=tb&amp;id=562&amp;key=ee63d8b7</trackback:ping></item><item><title>解决局域网和网内共享的问题</title><author>admin@birdol.com (nobird)</author><link>http://www.birdol.com/article/439.html</link><pubDate>Wed, 21 Jan 2009 16:50:43 +0800</pubDate><guid>http://www.birdol.com/article/439.html</guid><description><![CDATA[手动的方法请参考以前发布过的文章：<a target="_blank"  href="http://www.nobird.org/article/62.html">[xp下局域网组建方法]</a> <br/>今天给大家带来的是几个注册表和批处理，只要在你需要链接局域网的内网电脑上运行，就可以链接局域网了，注意要在同一个内网的才行哦~<br/><br/>附件共包含以下内容：<br/>    (仅供备用)打开硬盘各分区的默认共享(原版XP系统就是开的).reg<br/>    (仅供备用)禁止硬盘各分区的默认共享.reg<br/>    关闭局域网共享.cmd<br/>...]]></description><category>批处理bat</category><comments>http://www.birdol.com/article/439.html#comment</comments><wfw:comment>http://www.birdol.com/</wfw:comment><wfw:commentRss>http://www.birdol.com/feed.asp?cmt=439</wfw:commentRss><trackback:ping>http://www.birdol.com/cmd.asp?act=tb&amp;id=439&amp;key=69afd64a</trackback:ping></item><item><title>批处理加密工具</title><author>admin@birdol.com (nobird)</author><link>http://www.birdol.com/article/438.html</link><pubDate>Wed, 21 Jan 2009 08:47:54 +0800</pubDate><guid>http://www.birdol.com/article/438.html</guid><description><![CDATA[一直以来都在找这种加密的工具，找来的时候上面的版权居然是个采集站点的，无奈去掉了转载的版权放在这里，如果谁知道，我再加上吧~<br/><textarea class="code" rows="10" cols="50">
set&nbsp;/p&nbsp;file=请输入需要加密的批处理后按回车键(q=退出):
if&nbsp;"%file%"=="q"&nbsp;goto&nbsp;quit
echo&nbsp;%file%|findstr&nbsp;/i&nbsp;"\.bat$"&gt;nul&nbsp;&&&nbsp;goto&nbsp;go
echo&nbsp;%file%|findstr&nbsp;/i&nbsp;"\.cmd$"&gt;nul&nbsp;&&&nbsp;goto&nbsp;go
...</textarea>]]></description><category>批处理bat</category><comments>http://www.birdol.com/article/438.html#comment</comments><wfw:comment>http://www.birdol.com/</wfw:comment><wfw:commentRss>http://www.birdol.com/feed.asp?cmt=438</wfw:commentRss><trackback:ping>http://www.birdol.com/cmd.asp?act=tb&amp;id=438&amp;key=cd0da005</trackback:ping></item><item><title>ANY2BAT代码</title><author>admin@birdol.com (nobird)</author><link>http://www.birdol.com/article/434.html</link><pubDate>Mon, 19 Jan 2009 22:21:39 +0800</pubDate><guid>http://www.birdol.com/article/434.html</guid><description><![CDATA[收藏了很久的一个批处理，很不错，如果你有一个N大的邮箱却不能使用附件的话，尝试这个吧，转成批处理后再复制进去，到其他地方再复制出来运行就可以了<br/><textarea class="code" rows="10" cols="50">
@echo&nbsp;off

::::::::Any2Bat&nbsp;{s11ss&nbsp;2007-12-2}::::::::

::思路：利用debug获得原文件16进制代码，然后再次利用debug构造生成原文件的bat代码。

setlocal

set&nbsp;f="%~f1"
if&nbsp;not&nbsp;exist&nbsp;%f%&nbsp;(echo&nbsp;File&nbsp;doesn't&nbsp;exist!&&goto&nbsp;:eof)
...</textarea>]]></description><category>批处理bat</category><comments>http://www.birdol.com/article/434.html#comment</comments><wfw:comment>http://www.birdol.com/</wfw:comment><wfw:commentRss>http://www.birdol.com/feed.asp?cmt=434</wfw:commentRss><trackback:ping>http://www.birdol.com/cmd.asp?act=tb&amp;id=434&amp;key=ca323c19</trackback:ping></item></channel></rss>
