[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖

[文本处理] geturls.exe:提取数据流中的链接

http://bcn.bathome.net/s/tool/index.html?key=geturls
http://ss64.net/westlake/nt/index.html
  1. Version 1.0, Copyright (C)2001 Frank P. Westlake
  2. Extracts URL's beginning with "http://" or "ftp://" from a stream and
  3. prints to STDOUT.
  4.   program | GetURLs [/e:"string"] [/s:"string"]
  5. /e      Additional ending delimiters.
  6. /s      An additional beginning string to match.
  7. The URL is expected to be ended with white space, a double quote, one of the
  8. angle brackets '<' or '>', or one of the characters in the string identified by
  9. the /e switch.
复制代码
例:
  1. GetURLs /s:"ftp" < test.htm
复制代码
  1. type *.htm | GetURLs > url.txt
复制代码
[ 本帖最后由 tmplinshi 于 2011-1-17 23:21 编辑 ]

回复 3楼 的帖子

本来是这个地址的 http://www.geocities.com/fp.westlake/nt/,因为失效了,所以没有在顶楼贴出官网。以下新地址是最近发现的:

http://ss64.net/westlake/nt/index.html

TOP

返回列表