post_excerpt) { $description = $post->post_excerpt; } else { $description = substr(strip_tags($post->post_content),0,220); } $keywords = ""; $tags = wp_get_post_tags($post->ID); foreach ($tags as $tag ) { $keywords = $keywords . $tag->name . ", "; } }?>

Windows 下的 copy 命令,你知道多少?

从来图形界面和命令行都是各有优势,比如在 Windows 下用命令提示符来启动程序、查看各种配置,很多时候都比图形界面方便。也有很多命令行已经基本被忘却了,因为图形界面在更多时候更强大些。你知道 copy 命令可以用来合并文件,甚至是不同类型的文件吗?看一个把 ASCII 编码的文本二进制图片 合并的例子:

C:>copy pic.jpg/b + text.txt/a pic2.jpg

其中 /b 表示 binary, /a 表示 ASCII, 将前两个文件合并为新文件 pic2.jpg

得到的 pic2.jpg 外观上和 pic.jpg 完全一样,但是用记事本打开它,会在末尾发现刚才 text.txt 里的文字。这是一个隐藏信息的办法,我在上传毕业光盘照片的时候用过,算是个小彩蛋吧:)
注意:用来合并的 txt 开头最好空几行,以免合并的时候丢失。

下面是完整的 copy 的写法和可以用到的参数,详解可以查看 微软官方文档

copy [/d] [/v] [/n] [{/y|/-y}] [/z] [{/a|/b}] Source [{/a|/b}] [+ Source [{/a|/b}] [+ ...]] [Destination [{/a|/b}]]

最新评论

  • Shawna Kenyon Are you looking for powerful advertising that delivers real results? I apologize for sending you this message on your contact form but actually that was the whole point. We can send your ad copy to sites via their contact pages just like you're receiving this note right now. You can specify targets by keyword or just execute mass blasts to sites in the location of your choice. So let's say you're looking to push through an ad to all the mortgage brokers in the US, we'll scrape websites for just those and post your ad message to them. Providing you're advertising some kind of offer that's relevant to that type of business then you'll be blessed with an amazing response! Shoot me a reply to ethan3646hug@gmail.com for the details Greasemonkey 脚本推荐:在任何填邮箱的地方自动提示 Gmail 联系人
  • cheap jordan shoes I wish to show my gratitude for your generosity in support of people that should have help on this area. Your special commitment to getting the message all over had become incredibly good and has frequently allowed people much like me to achieve their targets. This useful useful information signifies this much to me and much more to my mates. Thank you; from all of us. Google 嵌入式日历重大更新
  • Fredericka McGuirk Need to find effective online promotion that isn't completely full of it? I apologize for sending you this message on your contact form but actually that was kinda the point. We can send your ad text to sites through their contact pages just like you're receiving this message right now. You can target by keyword or just start bulk blasts to websites in any country you choose. So let's say you want to push through an ad to all the contractors in the United States, we'll scrape websites for only those and post your ad message to them. As long as you're advertising a product or service that's relevant to that business category then your business will get awesome results! Write a quick note to evie2535gre@gmail.com to get info and prices Greasemonkey 脚本推荐:在任何填邮箱的地方自动提示 Gmail 联系人
  • 心灵博客 当年有这个效果已经很不错哦 diy 山寨投影家庭影院
  • 央街浪子 这个博客居然还在,真是老股东了。 我为什么爱 Twitter

发表您的评论

您的评论将回复给 原评论者

:D:):O8):(8D;DXD:P:nice::rainbow::cafe::love::cake:

目前有 7 条评论

  

哈哈,学到了~以备不时之需呀:)

不错 很好玩

貌似很好玩的样子哦~

我还真是孤陋寡闻啊
ms音乐也可以这样合并的


fisio 回复: nod 包括 mpg 视频都可以这样搞

不用命令行不行吗,找到图片的地址输入费了好久时间


fisio 回复: 可以把图先放到方便访问的位置啊...另:不知道你在输入路径的时候用过 Tab 键功能没有,用这个在命令行下输入路径很快的

TAB有提示功能啊,不知道……

想不到不用编程,不用其它软件也可以实现文件隐藏~!