﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><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>博客园-柴火.net</title><link>http://www.cnblogs.com/murky/</link><description>给我一片天空，让我自由的飞翔；给我一片大地，让我自由的呼吸；人类需要一个共同的目标众人拾柴，火焰高，发光，发亮，暖人心</description><language>zh-cn</language><lastBuildDate>Sun, 05 Jul 2009 17:33:26 GMT</lastBuildDate><pubDate>Sun, 05 Jul 2009 17:33:26 GMT</pubDate><ttl>60</ttl><item><title>SqlServer死锁处理存储过程</title><link>http://www.cnblogs.com/murky/archive/2007/11/23/969821.html</link><dc:creator>柴火</dc:creator><author>柴火</author><pubDate>Fri, 23 Nov 2007 05:10:00 GMT</pubDate><guid>http://www.cnblogs.com/murky/archive/2007/11/23/969821.html</guid><wfw:comment>http://www.cnblogs.com/murky/comments/969821.html</wfw:comment><comments>http://www.cnblogs.com/murky/archive/2007/11/23/969821.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/murky/comments/commentRss/969821.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/murky/services/trackbacks/969821.html</trackback:ping><description><![CDATA[摘要: &nbsp;&nbsp;<a href='http://www.cnblogs.com/murky/archive/2007/11/23/969821.html'>阅读全文</a><img src ="http://www.cnblogs.com/murky/aggbug/969821.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47989/" target="_blank">Twitter无处不在 魔兽世界Twitter发送器插件发布</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>DB2常用SQL的写法(未整理)</title><link>http://www.cnblogs.com/murky/archive/2007/11/16/961487.html</link><dc:creator>柴火</dc:creator><author>柴火</author><pubDate>Fri, 16 Nov 2007 04:15:00 GMT</pubDate><guid>http://www.cnblogs.com/murky/archive/2007/11/16/961487.html</guid><wfw:comment>http://www.cnblogs.com/murky/comments/961487.html</wfw:comment><comments>http://www.cnblogs.com/murky/archive/2007/11/16/961487.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/murky/comments/commentRss/961487.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/murky/services/trackbacks/961487.html</trackback:ping><description><![CDATA[摘要: &nbsp;&nbsp;<a href='http://www.cnblogs.com/murky/archive/2007/11/16/961487.html'>阅读全文</a><img src ="http://www.cnblogs.com/murky/aggbug/961487.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47988/" target="_blank">Firefox 3.5匆忙推出漏洞多 Mozilla本月将更新</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>常用快递公司列表</title><link>http://www.cnblogs.com/murky/archive/2007/05/09/739805.html</link><dc:creator>柴火</dc:creator><author>柴火</author><pubDate>Wed, 09 May 2007 00:33:00 GMT</pubDate><guid>http://www.cnblogs.com/murky/archive/2007/05/09/739805.html</guid><wfw:comment>http://www.cnblogs.com/murky/comments/739805.html</wfw:comment><comments>http://www.cnblogs.com/murky/archive/2007/05/09/739805.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/murky/comments/commentRss/739805.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/murky/services/trackbacks/739805.html</trackback:ping><description><![CDATA[摘要: 常用快递公司列表&nbsp;&nbsp;<a href='http://www.cnblogs.com/murky/archive/2007/05/09/739805.html'>阅读全文</a><img src ="http://www.cnblogs.com/murky/aggbug/739805.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47987/" target="_blank">预测：Twitter最可能收购的十家公司</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>看看google员工的“堕落”工作环境</title><link>http://www.cnblogs.com/murky/archive/2006/09/30/519441.html</link><dc:creator>柴火</dc:creator><author>柴火</author><pubDate>Sat, 30 Sep 2006 10:01:00 GMT</pubDate><guid>http://www.cnblogs.com/murky/archive/2006/09/30/519441.html</guid><wfw:comment>http://www.cnblogs.com/murky/comments/519441.html</wfw:comment><comments>http://www.cnblogs.com/murky/archive/2006/09/30/519441.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/murky/comments/commentRss/519441.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/murky/services/trackbacks/519441.html</trackback:ping><description><![CDATA[摘要: http://bbs14.xilu.com/CGI/viewbbs/tuzhubar/58684.html<br><br>详细请点击&nbsp;&nbsp;<a href='http://www.cnblogs.com/murky/archive/2006/09/30/519441.html'>阅读全文</a><img src ="http://www.cnblogs.com/murky/aggbug/519441.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47986/" target="_blank">网易澄清:与暴雪合资公司仅提供技术支持</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>Eclipse的快捷键大全（不断更新中）</title><link>http://www.cnblogs.com/murky/archive/2006/09/20/509811.html</link><dc:creator>柴火</dc:creator><author>柴火</author><pubDate>Wed, 20 Sep 2006 08:47:00 GMT</pubDate><guid>http://www.cnblogs.com/murky/archive/2006/09/20/509811.html</guid><wfw:comment>http://www.cnblogs.com/murky/comments/509811.html</wfw:comment><comments>http://www.cnblogs.com/murky/archive/2006/09/20/509811.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/murky/comments/commentRss/509811.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/murky/services/trackbacks/509811.html</trackback:ping><description><![CDATA[摘要: 俗话说，工欲善其事，必先利其器。如果大家对开发程序稍微有点发烧的话，多知道些快捷键，将对快速编写代码带来很大好处！&nbsp;&nbsp;<a href='http://www.cnblogs.com/murky/archive/2006/09/20/509811.html'>阅读全文</a><img src ="http://www.cnblogs.com/murky/aggbug/509811.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47985/" target="_blank">杰克逊悼念仪式或成史上最大规模Web活动</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>[转]不花钱不求人 硬盘数据恢复六大招</title><link>http://www.cnblogs.com/murky/archive/2006/09/18/507730.html</link><dc:creator>柴火</dc:creator><author>柴火</author><pubDate>Mon, 18 Sep 2006 10:49:00 GMT</pubDate><guid>http://www.cnblogs.com/murky/archive/2006/09/18/507730.html</guid><wfw:comment>http://www.cnblogs.com/murky/comments/507730.html</wfw:comment><comments>http://www.cnblogs.com/murky/archive/2006/09/18/507730.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/murky/comments/commentRss/507730.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/murky/services/trackbacks/507730.html</trackback:ping><description><![CDATA[摘要: 　　硬盘有价而数据无价，现在越来越多的用户有这样的概念，但是只有在真正遇到数据危机时才会有切身的感受，尽管存储在各种磁盘中的计算机数据如此重要，但由于技术和工艺的原因，任何存储设备都存在毁损的风险。运行环境的改变和恶化，违规操作或折磨式操作，病毒的破坏和黑客的入侵，以及难以避免的各种异常情况，都可能导致存储设备报废和软件系统崩溃。&nbsp;&nbsp;<a href='http://www.cnblogs.com/murky/archive/2006/09/18/507730.html'>阅读全文</a><img src ="http://www.cnblogs.com/murky/aggbug/507730.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47984/" target="_blank">《商业周刊》:Mozilla的志愿者开发模式被复制</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>[转]大学生不如狗</title><link>http://www.cnblogs.com/murky/archive/2006/09/18/507596.html</link><dc:creator>柴火</dc:creator><author>柴火</author><pubDate>Mon, 18 Sep 2006 08:41:00 GMT</pubDate><guid>http://www.cnblogs.com/murky/archive/2006/09/18/507596.html</guid><wfw:comment>http://www.cnblogs.com/murky/comments/507596.html</wfw:comment><comments>http://www.cnblogs.com/murky/archive/2006/09/18/507596.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/murky/comments/commentRss/507596.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/murky/services/trackbacks/507596.html</trackback:ping><description><![CDATA[摘要: 今年毕业，毕业了，才发现，我们被社会愚弄了，曾经妈妈教育我们好好学习，考大学。想想现在找工作的尴尬，大学生不如狗！！<br>以下是本人在所谓的人才市场上找工作的个人经历：<br>1.某单位招聘文员，一毕业生上前询问。一个黑不溜秋的民工样的男青年招聘者问：文字功底好吗？<br>答：感觉还可以！<br>&nbsp;&nbsp;<a href='http://www.cnblogs.com/murky/archive/2006/09/18/507596.html'>阅读全文</a><img src ="http://www.cnblogs.com/murky/aggbug/507596.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47984/" target="_blank">《商业周刊》:Mozilla的志愿者开发模式被复制</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>[转]dos常用命令</title><link>http://www.cnblogs.com/murky/archive/2006/09/18/507296.html</link><dc:creator>柴火</dc:creator><author>柴火</author><pubDate>Mon, 18 Sep 2006 04:08:00 GMT</pubDate><guid>http://www.cnblogs.com/murky/archive/2006/09/18/507296.html</guid><wfw:comment>http://www.cnblogs.com/murky/comments/507296.html</wfw:comment><comments>http://www.cnblogs.com/murky/archive/2006/09/18/507296.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/murky/comments/commentRss/507296.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/murky/services/trackbacks/507296.html</trackback:ping><description><![CDATA[<P><FONT color=#111111>虽然DOS已经是一个很老土的东西，但是在处理许多计算机故障的时候我们还是要使用他的，而且这些东西可是我们学习计算机的第一步哟~~做为怀念，收藏起来吧~~~</FONT></P>
<P><FONT color=#a0a0a0>=======================================================</FONT></P>
<P><FONT color=#f73809>MD——建立子目录</FONT><BR><BR>1．功能：创建新的子目录<BR><BR>2．类型：内部命令<BR><BR>3．格式：MD[盘符：][路径名]〈子目录名〉<BR><BR>4．使用说明：<BR><BR>（1）“盘符”：指定要建立子目录的磁盘驱动器字母，若省略，则为当前驱动器；<BR><BR>（2）“路径名”：要建立的子目录的上级目录名，若缺省则建在当前目录下。<BR><BR>例：（1）在C盘的根目录下创建名为FOX的子目录；（2）在FOX子目录下再创建USER子目录。<BR><BR>C：、＞MD&nbsp;FOX&nbsp;（在当前驱动器C盘下创建子目录FOX）<BR><BR>C：、＞MD&nbsp;FOX&nbsp;、USER&nbsp;（在FOX&nbsp;子目录下再创建USER子目录）<BR><BR><FONT color=#ff0000>CD——改变当前目录</FONT><BR><BR>1．功能：显示当前目录<BR><BR>2．类型：内部命令<BR><BR>3．格式：CD[盘符：][路径名][子目录名]<BR><BR>4．使用说明：<BR><BR>（1）如果省略路径和子目录名则显示当前目录；<BR><BR>（2）如采用“CD、”格式，则退回到根目录；<BR><BR>（3）如采用“CD.。”格式则退回到上一级目录。<BR><BR>例：（1）进入到USER子目录；（2）从USER子目录退回到子目录；（3）返回到根目录。<BR><BR>C:、＞CD&nbsp;FOX&nbsp;、USER（进入FOX子目录下的USER子目录）<BR><BR>C:、FOX、USER＞CD.。&nbsp;（退回上一级根目录）<BR><BR>C：、FOX＞CD、&nbsp;（返回到根目录）<BR><BR>C：、＞<BR><BR><FONT color=#ff0000>RD——删除子目录命令</FONT><BR><BR>1．功能：从指定的磁盘删除了目录。<BR><BR>2．类型：内部命令<BR><BR>3．格式：RD[盘符：][路径名][子目录名]<BR><BR>4．使用说明：<BR><BR>（1）子目录在删除前必须是空的，也就是说需要先进入该子目录，使用DEL（删除文件的命令）将其子目录下的文件删空，然后再退回到上一级目录，用RD命令删除该了目录本身；<BR><BR><BR><BR>（2）不能删除根目录和当前目录。<BR><BR>例：要求把C盘FOX子目录下的USER子目录删除，操作如下：<BR><BR>第一步：先将USER子目录下的文件删空；<BR><BR>C、＞DEL&nbsp;C：、FOX、USER、*。*<BR><BR>第二步，删除USER子目录。<BR><BR>C、＞RD&nbsp;Ｃ：、FOX、USER<BR><BR><FONT color=#ff0000>DIR——显示磁盘目录命令</FONT><BR><BR>1．功能：显示磁盘目录的内容。<BR><BR>2．类型：内部命令<BR><BR>3．格式：DIR&nbsp;[盘符][路径][/P][/W]<BR><BR>4．&nbsp;使用说明：/P的使用；当欲查看的目录太多，无法在一屏显示完屏幕会一直往上卷，不容易看清，加上/P参数后，屏幕上会分面一次显示23行的文件信息，然后暂停，并提示；Press&nbsp;any&nbsp;key&nbsp;to&nbsp;continue<BR><BR>/W的使用：加上/W只显示文件名，至于文件大小及建立的日期和时间则都省略。加上参数后，每行可以显示五个文件名.<BR><BR><BR><FONT color=#ff0000>PATH——路径设置命令<BR></FONT><BR>1．功能：设备可执行文件的搜索路径，只对文件有效。<BR><BR>2．类型：内部命令<BR><BR>3．格式：PATH[盘符1]目录[路径名1]{[；盘符2：]，〈目录路径名2〉…}<BR><BR>4．使用说明：<BR><BR>（1）当运行一个可执行文件时，DOS会先在当前目录中搜索该文件，若找到则运行之；若找不到该文件，则根据PATH命令所设置的路径，顺序逐条地到目录中搜索该文件；<BR><BR>（2）PATH命令中的路径，若有两条以上，各路径之间以一个分号“；”隔开；<BR><BR>（3）PATH命令有三种使用方法：<BR><BR>PATH[盘符1：][路径1][盘符2：][路径2]…（设定可执行文件的搜索路径）<BR><BR>PATH：（取消所有路径）<BR><BR>PATH：（显示目前所设的路径）<BR><BR><FONT color=#ff0000>TREE——显示磁盘目录结构命令</FONT><BR><BR>1．功能：显示指定驱动器上所有目录路径和这些目录下的所有文件名。<BR><BR>2．类型：外部命令<BR><BR>3．格式：TREE[盘符：][/F][》PRN]<BR><BR>4．使用说明：<BR><BR>（1）使用/F参数时显示所有目录及目录下的所有文件，省略时，只显示目录，不显示目录下的文件；<BR><BR>（2）选用＞PRN参数时，则把所列目录及目录中的文件名打印输出。<BR><BR><FONT color=#ff0000>DELTREE——删除整个目录命令</FONT><BR><BR>1．功能：将整个目录及其下属子目录和文件删除。<BR><BR>2．类型：外部命令<BR><BR>3．格式：DELTREE[盘符：]〈路径名〉<BR><BR>4．使用说明：该命令可以一步就将目录及其下的所有文件、子目录、更下层的子目录一并删除，而且不管文件的属性为隐藏、系统或只读，只要该文件位于删除的目录之下，DELTREE都一视同仁，照删不误。使用时务必小心！！！<BR><BR><BR><BR><FONT color=#ff0000>FORMAT——磁盘格式化命令</FONT><BR><BR>1．功能：对磁盘进行格式化，划分磁道和扇区；同时检查出整个磁盘上有无带缺陷的磁道，对坏道加注标记；建立目录区和文件分配表，使磁盘作好接收DOS的准备。<BR><BR>2．类型：外部命令<BR><BR>3．格式：FORMAT〈盘符：〉[/S][/4][/Q]<BR><BR>4．使用说明：<BR><BR>（1）命令后的盘符不可缺省，若对硬盘进行格式化，则会如下列提示：WARNING:ALL&nbsp;DATA&nbsp;ON&nbsp;NON&nbsp;——REMOVABLE&nbsp;DISK<BR><BR>DRIVE&nbsp;C:WILL&nbsp;BE&nbsp;LOST&nbsp;！<BR><BR>Proceed&nbsp;with&nbsp;Format&nbsp;(Y/N)？<BR><BR>（警告：所有数据在C盘上，将会丢失，确实要继续格式化吗？）<BR><BR>（2）若是对软盘进行格式化，则会如下提示：Insert&nbsp;mew&nbsp;diskette&nbsp;for&nbsp;drive&nbsp;A;<BR><BR>and&nbsp;press&nbsp;ENTER&nbsp;when&nbsp;ready…<BR><BR>（在A驱中插入新盘，准备好后按回车键）。<BR><BR>（3）选用[/S]参数，将把DOS系统文件IO.SYS&nbsp;、MSDOS.SYS及COMMAND.COM复制到磁盘上，使该磁盘可以做为DOS启动盘。若不选用/S参数，则格式化后的磙盘只能读写信息，而不能做为启动盘；<BR><BR>（4）选用[/4]参数，在1.2MB的高密度软驱中格式化360KB的低密度盘；<BR><BR>（5）选用[/Q]参数，快速格式化，这个参数并不会重新划分磁盘的磁道貌岸然和扇区，只能将磁盘根目录、文件分配表以及引导扇区清成空白，因此，格式化的速度较快。<BR><BR>（6）选用[/U]参数，表示无条件格式化，即破坏原来磁盘上所有数据。不加/U，则为安全格式化，这时先建立一个镜象文件保存原来的FAT表和根目录，必要时可用UNFORRMAT恢复原来的数据。<BR><BR></P>
<P><FONT color=#ff0000>UNFORMAT恢复格式化命令</FONT><BR><BR>1．功能：对进行过格式化误操作丢失数据的磁盘进行恢复。<BR><BR><BR>2．类型：外部命令<BR><BR>3．格式：UNFORMAT〈盘符〉[/L][/U][/P][/TEST]<BR><BR>4．使用说明：用于将被“非破坏性”格式化的磁盘恢复。根目录下被删除的文件或子目录及磁盘的系统扇区（包括FAT、根目录、BOOT扇区及硬盘分区表）受损时，也可以用UNFORMAT来抢救。<BR><BR>（1）选用/L参数列出找到的子目录名称、文件名称、大孝日期等信息，但不会真的做FORMAT工作。<BR><BR>（2）选用/P参数将显示于屏幕的报告（包含/L参数所产生的信息）同时也送到打印机。运行时屏幕会显示：“Print&nbsp;out&nbsp;will&nbsp;be&nbsp;sent&nbsp;to&nbsp;LPT1”<BR><BR>（3）选用/TEST参数只做模拟试验（TEST）不做真正的写入动作。使用此参数屏幕会显示：“Simulation&nbsp;only”<BR><BR>（4）选用/U参数不使用MIRROR映像文件的数据，直接根据磁盘现状进行UNFORMAT。<BR><BR>（5）选用/PSRTN；修复硬盘分区表。<BR><BR>若在盘符之后加上/P、/L、/TEST之一，都相当于使用了/U参数，UNFORMAT会“假设”此时磁盘没有MIRROR映像文件。<BR><BR>注意：UNFORMAT对于刚FORMAT的磁盘，可以完全恢复，但FORMAT后若做了其它数据的写入，则UNFORMAT就不能完整的救回数据了。UNFORMAT并非是万能的，由于使用UNFORMAT会重建FAT与根目录，所以它也具有较高的危险性，操作不当可能会扩大损失，如果仅误删了几个文件或子目录，只需要利用UNDELETE就够了.<BR><BR><BR><BR><FONT color=#ff0000>CHKDSK——检查磁盘当前状态命令</FONT><BR><BR>1．功能：显示磁盘状态、内存状态和指定路径下指定文件的不连续数目。<BR><BR>2．类型：外部命令<BR><BR>3．格式：CHKDSK&nbsp;[盘符：][路径][文件名][/F][/V]<BR><BR>4．使用说明：<BR><BR>（1）选用[文件名]参数，则显示该文件占用磁盘的情况；<BR><BR>（2）选[/F]参数，纠正在指定磁盘上发现的逻辑错误；<BR><BR>（3）选用[/V]参数，显示盘上的所有文件和路径。<BR><BR><FONT color=#ff0000>DISKCOPY——整盘复制命令</FONT><BR><BR>1．功能：复制格式和内容完全相同的软盘。<BR><BR>2．类型：外部命令<BR><BR>3．格式：DISKCOPY[盘符1：][盘符2：]<BR><BR>4．使用说明：<BR><BR>（1）如果目标软盘没有格式化，则复制时系统自动选进行格式化。<BR><BR>（2）如果目标软盘上原有文件，则复制后将全部丢失。<BR><BR>（3）如果是单驱动器复制，系统会提示适时更换源盘和目标盘，请操作时注意分清源盘和目标盘。<BR><BR><FONT color=#ff0000>LABEL——建立磁盘卷标命令</FONT><BR><BR>1．功能：建立、更改、删除磁盘卷标。<BR><BR>2．类型：外部命令<BR><BR>3．格式：LABEL[盘符：][卷标名]<BR><BR>4．使用说明：<BR><BR>（1）卷标名为要建立的卷标名，若缺省此参数，则系统提示键入卷标名或询问是否删除原有的卷标名；<BR><BR>（2）卷标名由1至11个字符组成。<BR><BR>（六）VOL——显示磁盘卷标命令<BR><BR>1．功能：查看磁盘卷标号。<BR><BR>2．类型：内部命令<BR><BR>3．格式：VOL[盘符：]<BR><BR>4．使用说明：省略盘符，显示当前驱动器卷标。<BR><BR>（七）SCANDISK——检测、修复磁盘命令<BR><BR>1．功能：检测磁盘的FAT表、目录结构、文件系统等是否有问题，并可将检测出的问题加以修复。<BR><BR>2．类型：外部命令<BR><BR><BR><BR>3．格式：SCANDISK[盘符1：]{[盘符2：]…}[/ALL]<BR><BR>4．使用说明：<BR><BR>（1）CCANDISK适用于硬盘和软盘，可以一次指定多个磁盘或选用[/ALL]参数指定所有的磁盘；<BR><BR>（2）可自动检测出磁盘中所发生的交叉连接、丢失簇和目录结构等逻辑上的错误，并加以修复。<BR><BR>（八）DEFRAG——重整磁盘命令<BR><BR>1．。功能：整理磁盘，消除磁盘碎块。<BR><BR>2．类型：外部命令<BR><BR>3．格式：DEFRAG[盘符：][/F]<BR><BR>4．使用说明：选用/F参数，将文件中存在盘上的碎片消除，并调整磁盘文件的安排，确保文件之间毫无空隙。从而加快读盘速度和节省磁盘空间。<BR><BR>（九）SYS——系统复制命令<BR><BR>1．功能：将当前驱动器上的DOS系统文件IO.SYS,MSDOS.SYS和COMMAND.COM&nbsp;传送到指定的驱动器上。<BR><BR>2．类型：外部命令<BR><BR>3．格式：SYS[盘符：]<BR><BR>*使用说明：如果磁盘剩余空间不足以存放系统文件，则提示：No&nbsp;roomfor&nbsp;on&nbsp;destination&nbsp;disk.<BR><BR>&nbsp;<BR><BR><FONT color=#ff0000>COPY文件复制命令<BR></FONT><BR>1．功能：拷贝一个或多个文件到指定盘上。<BR><BR>2．类型：内部命令<BR><BR>3．格式：COPY&nbsp;[源盘][路径]〈源文件名〉[目标盘][路径][目标文件名]<BR><BR>4．使用说明：<BR><BR>（1）COPY是文件对文件的方式复制数据，复制前目标盘必须已经格式化；<BR><BR>（2）复制过程中，目标盘上相同文件名称的旧文件会被源文件取代；<BR><BR>（3）复制文件时，必须先确定目标般有足够的空间，否则会出现；insufficient的错误信息，提示磁盘空间不够；<BR><BR>（4）文件名中允许使用通配举“*”“？”，可同时复制多个文件；<BR><BR>（5）COPY命令中源文件名必须指出，不可以省略。<BR><BR>（6）复制时，目标文件名可以与源文件名相同，称作“同名拷贝”此时目标文件名可以省略；<BR><BR>（7）复制时，目标文件名也可以与源文件名不相同，称作“异名拷贝”，此时，目标文件名不能省略；<BR><BR>（8）复制时，还可以将几个文件合并为一个文件，称为“合并拷贝”，格式如下：COPY；[源盘][路径]〈源文件名1〉〈源文件名2〉…[目标盘][路径]〈目标文件名〉；<BR><BR>（9）利用COPY命令，还可以从键盘上输入数据建立文件，格式如下：COPY&nbsp;CON&nbsp;[盘符：][路径]〈文件名〉；<BR><BR>（10）注意：COPY命令的使用格式，源文件名与目标文件名之间必须有空格！<BR><BR><FONT color=#ff0000>XCOPY——目录复制命令</FONT><BR><BR>1．功能：复制指定的目录和目录下的所有文件连同目录结构。<BR><BR>2．类型：外部命令<BR><BR>3．格式：XCOPY&nbsp;[源盘：]〈源路径名〉[目标盘符：][目标路径名][/S][/V][/E]<BR><BR>4．使用说明：<BR><BR><BR><BR>（1）XCOPY是COPY的扩展，可以把指定的目录连文件和目录结构一并拷贝，但不能拷贝隐藏文件和系统文件；<BR><BR>（2）使用时源盘符、源目标路径名、源文件名至少指定一个；<BR><BR>（3）选用/S时对源目录下及其子目录下的所有文件进行COPY。除非指定/E参数，否则/S不会拷贝空目录，若不指定/S参数，则XCOPY只拷贝源目录本身的文件，而不涉及其下的子目录；<BR><BR>（4）选用/V参数时，对的拷贝的扇区都进行较验，但速度会降低。<BR><BR></P>
<P><FONT color=#ff0000>TYPE——显示文件内容命令</FONT><BR><BR>1．功能：显示ASCII码文件的内容。<BR><BR>2．类型：内部命令。<BR><BR>3．格式：TYPE[盘符：][路径]〈文件名〉<BR><BR>4．使用说明：<BR><BR>（1）显示由ASCII码组成的文本文件，对。EXE.COM等为扩展名的文件，其显示的内容是无法阅读的，没有实际意义2；<BR><BR>（2）该命令一次只可以显示一个文件的内容，不能使用通配符；<BR><BR>（3）如果文件有扩展名，则必须将扩展名写上；<BR><BR>（4）当文件较长，一屏显示不下时，可以按以下格式显示；TYPE[盘符：][路径]〈文件名〉|MORE，MORE为分屏显示命令，使用些参数后当满屏时会暂停，按任意键会继续显示。<BR><BR>（5）若需将文件内容打印出来，可用如下格式：<BR><BR>TYPE[盘符：][路径]〈文件名〉，＞PRN<BR><BR>此时，打印机应处于联机状态。<BR><BR><FONT color=#ff0000>REN——文件改名命令</FONT><BR><BR>1．功能：更改文件名称<BR><BR>2．类型：内部命令<BR><BR>3．格式：REN[盘符：][路径]〈旧文件名〉〈新文件名〉<BR><BR>4．使用说明：<BR><BR>（1）新文件名前不可以加上盘符和路径，因为该命令只能对同一盘上的文件更换文件名；<BR><BR>（2）允许使用通配符更改一组文件名或扩展名。<BR><BR><FONT color=#ff0000>FC——文件比较命令</FONT><BR><BR>1．功能：比较文件的异同，并列出差异处。<BR><BR><BR>2．类型：外部命令<BR><BR>3．格式：FC[盘符：][路径名]〈文件名〉[盘符：][路径名][文件名][/A][/B][/C][/N]<BR><BR>4．使用说明：<BR><BR>（1）选用/A参数，为ASCII码比较模式；<BR><BR>（2）选用/B参数，为二进制比较模式；<BR><BR>（3）选用/C参数，将大小写字符看成是相同的字符。<BR><BR>（4）选用/N参数，在ASCII码比较方式下，显示相异处的行号。<BR><BR><FONT color=#ff0000>ATTRIB——修改文件属性命令</FONT><BR><BR>1．功能：修改指定文件的属性。（文件属性参见2.5.4（二）文件属性一节）<BR><BR>2．类型：外部命令。<BR><BR>3．格式：ATTRIB[文件名][R][——R][A][——A][H][——H][S][——S][/S]<BR><BR>4．使用说明：<BR><BR>（1）选用R参数，将指定文件设为只读属性，使得该文件只能读取，无法写入数据或删除；选用——R参数，去除只读属性；<BR><BR>（2）选用A参数，将文件设置为档案属性；选用——A参数，去除档案属性；<BR><BR>（3）选用H参数，将文件调协为隐含属性；选用——H参数，去隐含属性；<BR><BR>（4）选用S参数，将文件设置为系统属性；选用——S参数，去除系统属性；<BR><BR>（5）选用/S参数，对当前目录下的所有子目录及作设置。<BR><BR><BR><BR><FONT color=#ff0000>DEL——删除文件命令</FONT><BR><BR>1．功能：删除指定的文件。<BR><BR>2．类型：内部命令<BR><BR>3．格式：DEL[盘符：][路径]〈文件名〉[/P]<BR><BR>4．使用说明：<BR><BR>（1）选用/P参数，系统在删除前询问是否真要删除该文件，若不使用这个参数，则自动删除；<BR><BR>（2）该命令不能删除属性为隐含或只读的文件；<BR><BR>（3）在文件名称中可以使用通配符；<BR><BR>（4）若要删除磁盘上的所有文件（DEL*·*或DEL·），则会提示：(Arey&nbsp;ou&nbsp;sure？）（你确定吗？）若回答Y，则进行删除，回答N，则取消此次删除作业。<BR><BR><FONT color=#ff0000>UNDELETE——恢复删除命令</FONT><BR><BR>1．功能：恢复被误删除命令<BR><BR>2．类型：外部命令。<BR><BR>3．格式：UNDELETE[盘符：][路径名]〈文件名〉[/DOS]/LIST][/ALL]<BR><BR>4．使用说明：使用UNDELETE可以使用“*”和“？”通配符。<BR><BR>（1）选用/DOS参数根据目录里残留的记录来恢复文件。由于文件被删除时，目录所记载斩文件名第一个字符会被改为E5，DOS即依据文件开头的E5和其后续的字符来找到欲恢复的文件，所以，UNDELETE会要求用户输入一个字符，以便将文件名字补齐。但此字符不必和原来的一样，只需符合DOS的文件名规则即可。<BR><BR>（2）选用/LIST只“列出”符合指定条件的文件而不做恢复，所以对磁盘内容完全不会有影响。<BR><BR>（3）选用/ALL自动将可完全恢复的文件完全恢复，而不一一地询问用户，使用此参数时，若UNDELTE利用目录里残留的记录来将文件恢复，则会自动选一个字符将文件名补齐，并且使其不与现存文件名相同，选用字符的优选顺序为：#%——0000123456789A~Z。<BR><BR><BR><BR>UNDELETE还具有建立文件的防护措施的功能，已超出本课程授课范围，请读者在使用些功能时查阅有关DOS手册。<BR><BR><BR><FONT color=#ff0000>CLS——清屏幕命令</FONT><BR><BR>1功能：清除屏幕上的所有显示，光标置于屏幕左上角。<BR><BR>2类型：内部命令<BR><BR>3格式：CLS<BR><BR><FONT color=#ff0000>&nbsp;VER查看系统版本号命令<BR></FONT><BR>1功能：显示当前系统版本号<BR><BR>2类型：内部命令<BR><BR>3格式：VER<BR><BR><FONT color=#ff0000>&nbsp;DATA日期设置命令</FONT><BR><BR>1功能：设置或显示系统日期。<BR><BR>2类型：内部命令<BR><BR>3格式：DATE[mm——dd——yy]<BR><BR>4使用说明：<BR><BR>（1）省略[mm——dd——yy]显示系统日期并提示输入新的日期，不修改则可直接按回车键，[mm——dd——yy]为“月月——日日——年年”格式；<BR><BR>（2）当机器开始启动时，有自动处理文件（AUTOEXEC.BAT）被执行，则系统不提示输入系统日期。否则，提示输入新日期和时间。<BR><BR><FONT color=#ff0000>TIME系统时钟设置命令</FONT><BR><BR>1功能：设置或显示系统时期。<BR><BR>2类型：内部命令<BR><BR>3格式：TIME[hh：mm：ss：xx]<BR><BR>4使用说明：<BR><BR>（1）省略[hh：mm：ss：xx]，显示系统时间并提示输入新的时间，不修改则可直接按回车键，[hh：mm：ss：xx]为“小时：分钟：秒：百分之几秒”格式；<BR><BR>（2）当机器开始启动时，有自动处理文件（AUTOEXEC.BAT）被执行，则系统不提示输入系统日期。否则，提示输入新日期和时间。<BR><BR><FONT color=#ff0000>MEM查看当前内存状况命令</FONT><BR><BR>1功能：显示当前内存使用的情况<BR><BR>2类型：外部命令<BR><BR>3格式：MEM[/C][/F][/M][/P]<BR><BR>4使用说明：<BR><BR>（1）选用/C参数列出装入常规内存和CMB的各文件的长度，同时也显示内存空间的使用状况和最大的可用空间；<BR><BR>（2）选用/F参数分别列出当前常规内存剩余的字节大小和UMB可用的区域及大小；<BR><BR><BR>（3）选用/M参数显示该模块使用内存地地址、大小及模块性质；<BR><BR>（4）选用/P参数指定当输出超过一屏时，暂停供用户查看。<BR><BR><FONT color=#ff0000>MSD显示系统信息命令</FONT><BR><BR>1功能：显示系统的硬件和操作系统的状况。<BR><BR>2类型：外部命令<BR><BR>3格式：MSD[/I][/B][/S]<BR><BR>4使用说明：<BR><BR>（1）选用/I参数时，不检测硬件；<BR><BR>（2）选用/B参数时，以黑白方式启动MSD；<BR><BR>（3）选用/S参数时，显示出简明的系统报告。<BR><BR>&nbsp;<BR><BR><FONT color=#ff0000>NETSTAT命令详解&nbsp;</FONT><BR>netstat命令是一个监控TCP/IP网络的非常有用的工具，它可以显示路由表、实际的网络连接以及每一个网络接口设备的状态信息，在我的计算机上执行netstat后，其输出结果为：&nbsp;<BR>Active&nbsp;Internet&nbsp;connections&nbsp;(w/o&nbsp;servers)&nbsp;<BR>Proto&nbsp;Recv-Q&nbsp;Send-Q&nbsp;Local&nbsp;Address&nbsp;Foreign&nbsp;Address&nbsp;State&nbsp;<BR>tcp&nbsp;0&nbsp;2&nbsp;210.34.6.89:telnet&nbsp;210.34.6.96:2873&nbsp;ESTABLISHED&nbsp;<BR>tcp&nbsp;296&nbsp;0&nbsp;210.34.6.89:1165&nbsp;210.34.6.84:netbios-ssn&nbsp;ESTABLISHED&nbsp;<BR>tcp&nbsp;0&nbsp;0&nbsp;localhost.localdom:9001&nbsp;localhost.localdom:1162&nbsp;ESTABLISHED&nbsp;<BR>tcp&nbsp;0&nbsp;0&nbsp;localhost.localdom:1162&nbsp;localhost.localdom:9001&nbsp;ESTABLISHED&nbsp;<BR>tcp&nbsp;0&nbsp;80&nbsp;210.34.6.89:1161&nbsp;210.34.6.10:netbios-ssn&nbsp;CLOSE&nbsp;<BR>Active&nbsp;UNIX&nbsp;domain&nbsp;sockets&nbsp;(w/o&nbsp;servers)&nbsp;<BR>Proto&nbsp;RefCnt&nbsp;Flags&nbsp;Type&nbsp;State&nbsp;I-Node&nbsp;Path&nbsp;<BR>unix&nbsp;1&nbsp;[&nbsp;]&nbsp;STREAM&nbsp;CONNECTED&nbsp;16178&nbsp;@000000dd&nbsp;<BR>unix&nbsp;1&nbsp;[&nbsp;]&nbsp;STREAM&nbsp;CONNECTED&nbsp;16176&nbsp;@000000dc&nbsp;<BR>unix&nbsp;9&nbsp;[&nbsp;]&nbsp;DGRAM&nbsp;5292&nbsp;/dev/log&nbsp;<BR>unix&nbsp;1&nbsp;[&nbsp;]&nbsp;STREAM&nbsp;CONNECTED&nbsp;16182&nbsp;@000000df&nbsp;<BR>从整体上看，netstat的输出结果可以分为两个部分，一个是Active&nbsp;Internet&nbsp;connections，称为有源TCP连接，另一个是Active&nbsp;UNIX&nbsp;domain&nbsp;sockets，称为有源Unix域套接口。在上面的输出结果中，第一部分有5个输出结果，显示有源TCP连接的情况，而第二部分的输出结果显示的是Unix域套接口的连接情况。Proto显示连接使用的协议；RefCnt表示连接到本套接口上的进程号；Types显示套接口的类型；State显示套接口当前的状态；Path表示连接到套接口的其它进程使用的路径名。&nbsp;<BR>事实上，netstat是若干个工具的汇总。&nbsp;<BR>◆&nbsp;显示路由表&nbsp;<BR>在随-&nbsp;r标记一起调用n&nbsp;e&nbsp;t&nbsp;s&nbsp;t&nbsp;a&nbsp;t时，将显示内核路由表，就像我们利用r&nbsp;o&nbsp;u&nbsp;t&nbsp;e命令一样。产生的输出如下：&nbsp;<BR>[root@machine1&nbsp;/]&nbsp;netstat&nbsp;-nr&nbsp;<BR>Kernel&nbsp;IP&nbsp;routing&nbsp;table&nbsp;<BR>Destination&nbsp;Gateway&nbsp;Genmask&nbsp;Flags&nbsp;MSS&nbsp;Window&nbsp;irtt&nbsp;Iface&nbsp;<BR>210.34.6.0&nbsp;0.0.0.0&nbsp;255.255.255.128&nbsp;U&nbsp;0&nbsp;0&nbsp;0&nbsp;eth0&nbsp;<BR>192.168.1.0&nbsp;0.0.0.0&nbsp;255.255.255.0&nbsp;U&nbsp;0&nbsp;0&nbsp;0&nbsp;eth1&nbsp;<BR>127.0.0.0&nbsp;0.0.0.0&nbsp;255.0.0.0&nbsp;U&nbsp;0&nbsp;0&nbsp;0&nbsp;lo&nbsp;<BR>0.0.0.0&nbsp;210.34.6.2&nbsp;0.0.0.0&nbsp;UG&nbsp;0&nbsp;0&nbsp;0&nbsp;eth0&nbsp;<BR>-&nbsp;n&nbsp;选项令netstat以点分四段式的形式输出IP地址，而不是象征性的主机名和网络名。如果想避免通过网络查找地址（比如避开DNS或NIS服务器），这一点是特别有用的。&nbsp;<BR>netstat输出结果中，第二列展示的是路由条目所指的网关，如果没有使用网关，就会出现一个星号（*）或者0.0.0.0；第三列展示路由的概述，在为具体的I&nbsp;P地址找出最恰当的路由时，内核将查看路由表内的所有条目，在对找到的路由与目标路由比较之前，将对I&nbsp;P地址和genmask进行按位“与”计算；第四列显示了不同的标记，这些标记的说明如下：&nbsp;<BR>■&nbsp;G&nbsp;路由将采用网关。&nbsp;<BR>■&nbsp;U&nbsp;准备使用的接口处于“活动”状态。&nbsp;<BR>■&nbsp;H&nbsp;通过该路由，只能抵达一台主机。&nbsp;<BR>■&nbsp;D&nbsp;如果路由表的条目是由ICMP重定向消息生成的，就会设置这个标记。&nbsp;<BR>■&nbsp;M&nbsp;如果路由表条目已被ICMP重定向消息修改，就会设置这个标记。&nbsp;<BR>netstat输出结果的Iface显示该连接所用的物理网卡，如eth0表示用第一张，eth1表示用第二张。&nbsp;<BR>◆&nbsp;显示接口特性&nbsp;<BR>在随-&nbsp;i标记一起调用时，&nbsp;netstat将显示网络接口的当前配置特性。除此以外，如果调用时还带上-a选项，它还将输出内核中所有接口，并不只是当前配置的接口。netstat-i的输出结果是这样的：&nbsp;<BR>[root@machine1&nbsp;/]&nbsp;netstat&nbsp;-i&nbsp;<BR>Kernel&nbsp;Interface&nbsp;table&nbsp;<BR>Iface&nbsp;MTU&nbsp;Met&nbsp;RX-OK&nbsp;RX-ERR&nbsp;RX-DRP&nbsp;RX-OVR&nbsp;TX-OK&nbsp;TX-ERR&nbsp;TX-DRP&nbsp;TX-OVR&nbsp;Flg&nbsp;<BR>eth0&nbsp;1500&nbsp;0&nbsp;787165&nbsp;0&nbsp;0&nbsp;1&nbsp;51655&nbsp;0&nbsp;0&nbsp;0&nbsp;BRU&nbsp;<BR>eth1&nbsp;1500&nbsp;0&nbsp;520811&nbsp;0&nbsp;0&nbsp;0&nbsp;1986&nbsp;0&nbsp;0&nbsp;0&nbsp;BRU&nbsp;<BR>lo&nbsp;3924&nbsp;0&nbsp;1943&nbsp;0&nbsp;0&nbsp;0&nbsp;43&nbsp;0&nbsp;0&nbsp;0&nbsp;LRU&nbsp;<BR>MTU和Met字段表示的是接口的MTU和度量值值；RX和TX这两列表示的是已经准确无误地收发了多少数据包（&nbsp;RX&nbsp;-&nbsp;OK&nbsp;/&nbsp;TX&nbsp;-&nbsp;OK）、产生了多少错误（&nbsp;RX-ERR/TX-ERR）、丢弃了多少包（RX-DRP/TX-DRP），由于误差而遗失了多少包（RX-OVR/TX-OVR）；最后一列展示的是为这个接口设置的标记，在利用ifconfig显示接口配置时，这些标记都采用一个字母。它们的说明如下：&nbsp;<BR>■&nbsp;B&nbsp;已经设置了一个广播地址。&nbsp;<BR>■&nbsp;L&nbsp;该接口是一个回送设备。&nbsp;<BR>■&nbsp;M&nbsp;接收所有数据包（混乱模式）。&nbsp;<BR>■&nbsp;N&nbsp;避免跟踪。&nbsp;<BR>■&nbsp;O&nbsp;在该接口上，禁用A&nbsp;R&nbsp;P。&nbsp;<BR>■&nbsp;P&nbsp;这是一个点到点链接。&nbsp;<BR>■&nbsp;R&nbsp;接口正在运行。&nbsp;<BR>■&nbsp;U&nbsp;接口处于“活动”状态。&nbsp;<BR>◆&nbsp;显示链接&nbsp;<BR>netstat支持用于显示活动或被动套接字的选项集。选项-&nbsp;t、-&nbsp;u、-&nbsp;w和-&nbsp;x分别表示TCP、UDP、RAW和UNIX套接字连接。如果你另外还提供了一个-&nbsp;a标记，还会显示出等待连接（也就是说处于监听模式）的套接字。这样就可以得到一份服务器清单，当前所有运行于系统中的所有服务器都会列入其中。&nbsp;<BR>调用netstat&nbsp;-ta时，输出结果如下：&nbsp;<BR>[root@machine1&nbsp;/]&nbsp;netstat&nbsp;-ta&nbsp;<BR>Active&nbsp;Internet&nbsp;connections&nbsp;(servers&nbsp;and&nbsp;established)&nbsp;<BR>Proto&nbsp;Recv-Q&nbsp;Send-Q&nbsp;Local&nbsp;Address&nbsp;Foreign&nbsp;Address&nbsp;State&nbsp;<BR>tcp&nbsp;0&nbsp;2&nbsp;210.34.6.89:telnet&nbsp;210.34.6.96:2873&nbsp;ESTABLISHED&nbsp;<BR>tcp&nbsp;0&nbsp;0&nbsp;210.34.6.89:1165&nbsp;210.34.6.84:netbios-ssn&nbsp;ESTABLISHED&nbsp;<BR>tcp&nbsp;0&nbsp;0&nbsp;localhost.localdom:9001&nbsp;localhost.localdom:1162&nbsp;ESTABLISHED&nbsp;<BR>tcp&nbsp;0&nbsp;0&nbsp;localhost.localdom:1162&nbsp;localhost.localdom:9001&nbsp;ESTABLISHED&nbsp;<BR>tcp&nbsp;0&nbsp;0&nbsp;*:9001&nbsp;*:*&nbsp;LISTEN&nbsp;<BR>tcp&nbsp;0&nbsp;0&nbsp;*:6000&nbsp;*:*&nbsp;LISTEN&nbsp;<BR>tcp&nbsp;0&nbsp;0&nbsp;*:socks&nbsp;*:*&nbsp;LISTEN&nbsp;<BR>tcp&nbsp;0&nbsp;80&nbsp;210.34.6.89:1161&nbsp;210.34.6.10:netbios-ssn&nbsp;CLOSE&nbsp;<BR>上面的输出表明部分服务器处于等待接入连接状态。利用-&nbsp;a选项的话，netstat还会显示出所有的套接字。注意根据端口号，可以判断出一条连接是否是外出连接。对呼叫方主机来说，列出的端口号应该一直是一个整数，而对众所周知服务（well&nbsp;known&nbsp;service）端口正在使用中的被呼叫方来说，netstat采用的则是取自/etc/services文件的象征性服务名<BR></P><img src ="http://www.cnblogs.com/murky/aggbug/507296.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47984/" target="_blank">《商业周刊》:Mozilla的志愿者开发模式被复制</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>[转]net命令详解</title><link>http://www.cnblogs.com/murky/archive/2006/09/18/507294.html</link><dc:creator>柴火</dc:creator><author>柴火</author><pubDate>Mon, 18 Sep 2006 04:07:00 GMT</pubDate><guid>http://www.cnblogs.com/murky/archive/2006/09/18/507294.html</guid><wfw:comment>http://www.cnblogs.com/murky/comments/507294.html</wfw:comment><comments>http://www.cnblogs.com/murky/archive/2006/09/18/507294.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/murky/comments/commentRss/507294.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/murky/services/trackbacks/507294.html</trackback:ping><description><![CDATA[<P>NET命令，一个经典的命令，收藏的详解如下：</P>
<P>==================================================================</P>
<P>许多&nbsp;Windows&nbsp;NT&nbsp;网络命令以&nbsp;net&nbsp;开始。这些&nbsp;net&nbsp;命令有一些公共属性：&nbsp;<BR>通过键入&nbsp;net&nbsp;/?&nbsp;可查阅所有可用的&nbsp;net&nbsp;命令。&nbsp;<BR>通过键入&nbsp;net&nbsp;help&nbsp;命令可在命令行中获得&nbsp;net&nbsp;命令的语法帮助。例如，要得到&nbsp;net&nbsp;accounts&nbsp;命令的帮助，请键入&nbsp;net&nbsp;help&nbsp;accounts。&nbsp;<BR>所有&nbsp;net&nbsp;命令接受选项&nbsp;/&nbsp;yes&nbsp;和&nbsp;/no（可缩写为&nbsp;/&nbsp;y&nbsp;和&nbsp;/n&nbsp;）。/&nbsp;y&nbsp;对命令产生的任何交互提示自动回答“是”，/n&nbsp;回答“否”。例如，net&nbsp;stop&nbsp;server&nbsp;通常提示确认是否根据服务器服务结束所有服务，net&nbsp;stop&nbsp;server&nbsp;/y&nbsp;自动回答“是”并关闭服务器服务。&nbsp;<BR></P>
<P><FONT color=#ff0000>Net&nbsp;Accounts&nbsp;</FONT></P><FONT color=#ff0000></FONT>
<P><BR>更新用户帐号数据库、更改密码及所有帐号的登录要求。必须要在更改帐号参数的计算机上运行网络登录服务。&nbsp;<BR>net&nbsp;accounts&nbsp;[/forcelogoff:{minutes&nbsp;|&nbsp;no}]&nbsp;[/minpwlen:length]&nbsp;[/maxpwage:{days&nbsp;|unlimited}]&nbsp;[/minpwage:days]&nbsp;[/uniquepw:number]&nbsp;[/domain]&nbsp;</P>
<P>net&nbsp;accounts&nbsp;[/sync]&nbsp;[/domain]&nbsp;<BR></P>
<P>参数&nbsp;<BR>无&nbsp;<BR>键入不带参数的&nbsp;net&nbsp;accounts，将显示当前密码设置、登录时限及域信息。&nbsp;<BR>/forcelogoff:{minutes&nbsp;|&nbsp;no}&nbsp;<BR>设置当用户帐号或有效登录时间过期时，结束用户和服务器会话前的等待时间。no&nbsp;选项禁止强行注销。该参数的默认设置为&nbsp;no。&nbsp;<BR>指定&nbsp;/forcelogoff:minutes&nbsp;之后，Windows&nbsp;NT&nbsp;在其强制用户退出网络&nbsp;minutes&nbsp;分钟之前，将给用户发出警报。如果还有打开的文件，Windows&nbsp;NT&nbsp;将警告用户。如果&nbsp;minutes&nbsp;小于两分钟，Windows&nbsp;NT&nbsp;警告用户立即从网络注销。&nbsp;<BR>/minpwlen:length&nbsp;<BR>设置用户帐号密码的最少字符数。允许范围是&nbsp;0-14，默认值为&nbsp;6。&nbsp;<BR>/maxpwage:{days&nbsp;|&nbsp;unlimited}&nbsp;<BR>设置用户帐号密码有效的最大天数。unlimited&nbsp;不设置最大天数。/maxpwage&nbsp;选项的天数必须大于&nbsp;/minpwage。允许范围是&nbsp;1-49,710&nbsp;天&nbsp;(unlimited)。默认值为&nbsp;90&nbsp;天。&nbsp;<BR>/minpwage:days&nbsp;<BR>设置用户必须保持原密码的最小天数。&nbsp;0&nbsp;值不设置最小时间。允许范围是&nbsp;0-49,710&nbsp;天，默认值为&nbsp;0&nbsp;天。&nbsp;<BR>/uniquepw:number&nbsp;<BR>要求用户更改密码时，必须在经过&nbsp;number&nbsp;次后，才能重复使用与之相同的密码。允许范围是&nbsp;0-8。默认值为&nbsp;5。&nbsp;<BR>/domain&nbsp;<BR>在当前域的主域控制器上执行该操作。否则只在本地计算机执行操作。&nbsp;<BR>该参数仅用于&nbsp;Windows&nbsp;NT&nbsp;Server&nbsp;域中的&nbsp;Windows&nbsp;NT&nbsp;Workstation&nbsp;计算机，Windows&nbsp;NT&nbsp;Server&nbsp;计算机默认为在主域控制器执行操作。&nbsp;<BR>/sync&nbsp;<BR>当用于主域控制器时，该命令使域中所有备份域控制器同步；当用于备份域控制器时，该命令仅使该备份域控制器与主域控制器同步。该命令仅适用于&nbsp;Windows&nbsp;NT&nbsp;Server&nbsp;域成员的计算机。&nbsp;<BR></P>
<P><FONT color=#ff0000>Net&nbsp;Computer&nbsp;</FONT></P>
<P><BR>从域数据库中添加或删除计算机。该命令仅在运行&nbsp;Windows&nbsp;NT&nbsp;Server&nbsp;的计算机上可用。&nbsp;<BR>net&nbsp;computer&nbsp;\computername&nbsp;{/add&nbsp;|&nbsp;/del}&nbsp;<BR></P>
<P>参数&nbsp;<BR>\computername&nbsp;<BR>指定要添加到域或从域中删除的计算机。&nbsp;<BR>/add&nbsp;<BR>将指定计算机添加到域。&nbsp;<BR>/del&nbsp;<BR>将指定计算机从域中删除。&nbsp;<BR></P>
<P><FONT color=#ff0000>Net&nbsp;Config&nbsp;<BR></FONT></P>
<P>显示当前运行的可配置服务，或显示并更改某项服务的设置。&nbsp;<BR>net&nbsp;config&nbsp;[service&nbsp;[options]]&nbsp;<BR></P>
<P>参数&nbsp;<BR>无&nbsp;<BR>键入不带参数的&nbsp;net&nbsp;config&nbsp;将显示可配置服务的列表。&nbsp;<BR>service&nbsp;<BR>通过&nbsp;net&nbsp;config&nbsp;命令进行配置的服务（server&nbsp;或&nbsp;workstation）。&nbsp;<BR>options&nbsp;<BR>服务的特定选项。完整语法请参阅&nbsp;net&nbsp;config&nbsp;server&nbsp;或&nbsp;net&nbsp;config&nbsp;workstation。&nbsp;<BR></P>
<P><FONT color=#ff0000>Net&nbsp;Config&nbsp;Server&nbsp;</FONT></P>
<P><BR>运行服务时显示或更改服务器的服务设置。&nbsp;<BR>net&nbsp;config&nbsp;server&nbsp;[/autodisconnect:time]&nbsp;[/srvcomment:"text&nbsp;"]&nbsp;[/hidden:{yes&nbsp;|&nbsp;no}]&nbsp;<BR></P>
<P>参数&nbsp;<BR>无&nbsp;<BR>键入不带参数的&nbsp;net&nbsp;config&nbsp;server，将显示服务器服务的当前配置。&nbsp;<BR>/autodisconnect:time&nbsp;<BR>设置断开前用户会话闲置的最大时间值。可以指定&nbsp;-1，表示永不断开连接。允许范围是&nbsp;-1-65535&nbsp;分钟，默认值是&nbsp;15&nbsp;分钟。&nbsp;<BR>/srvcomment:"text&nbsp;"&nbsp;<BR>为服务器添加注释，可以通过&nbsp;net&nbsp;view&nbsp;命令在屏幕上显示所加注释。注释最多可达&nbsp;48&nbsp;个字符，文字要用引号引住。&nbsp;<BR>/hidden:{yes&nbsp;|&nbsp;no}&nbsp;<BR>指定服务器的计算机名是否出现在服务器列表中。请注意隐含某个服务器并不改变该服务器的权限。默认为&nbsp;no。&nbsp;<BR></P>
<P><FONT color=#ff0000>Net&nbsp;Config&nbsp;Workstation&nbsp;</FONT></P>
<P><BR>服务运行时，显示或更改工作站各项服务的设置。&nbsp;<BR>net&nbsp;config&nbsp;workstation&nbsp;[/charcount:bytes]&nbsp;[/chartime:msec]&nbsp;[/charwait:sec]&nbsp;<BR></P>
<P>参数&nbsp;<BR>无&nbsp;<BR>键入不带参数的&nbsp;net&nbsp;config&nbsp;workstation&nbsp;将显示本地计算机的当前配置。&nbsp;<BR>/charcount:bytes&nbsp;<BR>指定&nbsp;Windows&nbsp;NT&nbsp;在将数据发送到通讯设备之前收集的数据量。如果同时设置&nbsp;/chartime:msec&nbsp;参数，Windows&nbsp;NT&nbsp;按首先满足条件的选项运行。允许范围是&nbsp;0-65535&nbsp;字节，默认值是16&nbsp;字节。&nbsp;<BR>/chartime:msec&nbsp;<BR>指定&nbsp;Windows&nbsp;NT&nbsp;在将数据发送到通讯设备之前收集数据的时间。如果同时设置&nbsp;/charcount:bytes&nbsp;参数，Windows&nbsp;NT&nbsp;按首先满足条件的选项运行。允许范围是&nbsp;0-65535000&nbsp;毫秒，默认值是&nbsp;250&nbsp;毫秒。&nbsp;<BR>/charwait:sec&nbsp;<BR>设置&nbsp;Windows&nbsp;NT&nbsp;等待通讯设备变为可用的时间。允许的范围是&nbsp;0-65535&nbsp;秒，默认值是&nbsp;3600&nbsp;秒。&nbsp;<BR></P>
<P><FONT color=#ff0000>Net&nbsp;Continue&nbsp;</FONT></P>
<P><BR>重新激活挂起的服务。&nbsp;<BR>net&nbsp;continue&nbsp;service&nbsp;<BR></P>
<P>参数&nbsp;<BR>service&nbsp;<BR>能够继续运行的服务，包括：&nbsp;file&nbsp;server&nbsp;for&nbsp;macintosh（该服务仅限于&nbsp;Windows&nbsp;NT&nbsp;Server）,&nbsp;ftp&nbsp;publishing&nbsp;service,&nbsp;lpdsvc,&nbsp;net&nbsp;logon,&nbsp;network&nbsp;dde，network&nbsp;dde&nbsp;dsdm，nt&nbsp;lm&nbsp;security&nbsp;support&nbsp;provider，remoteboot（该服务仅限于&nbsp;Windows&nbsp;NT&nbsp;Server），remote&nbsp;access&nbsp;server,&nbsp;schedule，server，simple&nbsp;tcp/ip&nbsp;services&nbsp;及&nbsp;workstation&nbsp;。<BR></P>
<P><FONT color=#ff0000>Net&nbsp;File&nbsp;</FONT></P>
<P><BR>显示某服务器上所有打开的共享文件名及锁定文件数。该命令也可以关闭个别文件并取消文<BR>件锁定。&nbsp;<BR>net&nbsp;file&nbsp;[id&nbsp;[/close]]&nbsp;<BR></P>
<P>参数&nbsp;<BR>无&nbsp;<BR>键入不带参数的&nbsp;net&nbsp;file&nbsp;可获得服务器上打开文件的列表。&nbsp;<BR>id&nbsp;<BR>文件标识号。&nbsp;<BR>/close&nbsp;<BR>关闭打开的文件并释放锁定记录。请从共享文件的服务器中键入该命令。&nbsp;<BR></P>
<P><FONT color=#ff0000>Net&nbsp;Group&nbsp;</FONT></P>
<P><BR>在&nbsp;Windows&nbsp;NT&nbsp;Server&nbsp;域中添加、显示或更改全局组。该命令仅在&nbsp;Windows&nbsp;NT&nbsp;Server&nbsp;域中可用。&nbsp;<BR>net&nbsp;group&nbsp;[groupname&nbsp;[/comment:"text&nbsp;"]]&nbsp;[/domain]&nbsp;<BR>net&nbsp;group&nbsp;groupname&nbsp;{/add&nbsp;[/comment:"text&nbsp;"]&nbsp;|&nbsp;/delete}&nbsp;[/domain]&nbsp;<BR>net&nbsp;group&nbsp;groupname&nbsp;username&nbsp;[&nbsp;...]&nbsp;{/add&nbsp;|&nbsp;/delete}&nbsp;[/domain]&nbsp;<BR></P>
<P>参数&nbsp;<BR>无&nbsp;<BR>键入不带参数的&nbsp;net&nbsp;group&nbsp;可以显示服务器名称及服务器的组名称。&nbsp;<BR>groupname&nbsp;<BR>要添加、扩展或删除的组。仅提供某个组名便可查看组中的用户列表。&nbsp;<BR>/comment:"text&nbsp;"&nbsp;<BR>为新建组或现有组添加注释。注释最多可以是&nbsp;48&nbsp;个字符，并用引号将注释文字引住。&nbsp;<BR>/domain&nbsp;<BR>在当前域的主域控制器中执行该操作，否则在本地计算机上执行操作。&nbsp;<BR>该参数仅用于作为&nbsp;Windows&nbsp;NT&nbsp;Server&nbsp;域成员的&nbsp;Windows&nbsp;NT&nbsp;Workstation&nbsp;计算机。Windows&nbsp;NT&nbsp;Server&nbsp;计算机默认为在主域控制器中操作。&nbsp;<BR>username[&nbsp;...]&nbsp;<BR>列表显示要添加到组或从组中删除的一个或多个用户。使用空格分隔多个用户名称项。&nbsp;<BR>/add&nbsp;<BR>添加组或在组中添加用户名。必须使用该命令为添加到组中的用户建立帐号。&nbsp;<BR>/delete&nbsp;<BR>删除组或从组中删除用户名。<BR><BR><BR><FONT color=#ff0000>Net&nbsp;Help&nbsp;</FONT></P>
<P><BR>提供网络命令列表及帮助主题，或提供指定命令或主题的帮助。可用网络命令列于&nbsp;N&nbsp;下面的<BR>“命令参考”中“命令”窗口内。&nbsp;<BR>net&nbsp;help&nbsp;[command]&nbsp;<BR>net&nbsp;command&nbsp;{/help&nbsp;|&nbsp;/?}&nbsp;<BR></P>
<P>参数&nbsp;<BR>无&nbsp;<BR>键入不带参数的&nbsp;net&nbsp;help&nbsp;显示能够获得帮助的命令列表和帮助主题。&nbsp;<BR>command&nbsp;<BR>需要其帮助的命令，不要将&nbsp;net&nbsp;作为&nbsp;command&nbsp;的一部分。&nbsp;<BR>/help&nbsp;<BR>提供显示帮助文本方式选择。&nbsp;<BR>/?&nbsp;<BR>显示命令的正确语法。&nbsp;<BR></P>
<P><FONT color=#ff0000>Net&nbsp;Helpmsg&nbsp;</FONT></P>
<P><BR>提供&nbsp;Windows&nbsp;NT&nbsp;错误信息的帮助。&nbsp;<BR>net&nbsp;helpmsg&nbsp;message#&nbsp;<BR></P>
<P>参数&nbsp;<BR>message#&nbsp;<BR>需要其帮助的&nbsp;Windows&nbsp;NT&nbsp;消息的四位代码。&nbsp;<BR></P>
<P><FONT color=#ff0000>Net&nbsp;Localgroup&nbsp;</FONT></P>
<P><BR>添加、显示或更改本地组。&nbsp;<BR>net&nbsp;localgroup&nbsp;[groupname&nbsp;[/comment:"text&nbsp;"]]&nbsp;[/domain]&nbsp;<BR>net&nbsp;localgroup&nbsp;groupname&nbsp;{/add&nbsp;[/comment:"text&nbsp;"]&nbsp;|&nbsp;/delete}&nbsp;[/domain]&nbsp;<BR>net&nbsp;localgroup&nbsp;groupname&nbsp;name&nbsp;[&nbsp;...]&nbsp;{/add&nbsp;|&nbsp;/delete}&nbsp;[/domain]&nbsp;<BR></P>
<P>参数&nbsp;<BR>无&nbsp;<BR>键入不带参数的&nbsp;net&nbsp;localgroup&nbsp;将显示服务器名称和计算机的本地组名称。&nbsp;<BR>groupname&nbsp;<BR>要添加、扩充或删除的本地组名称。只提供&nbsp;groupname&nbsp;即可查看用户列表或本地组中的全局组。&nbsp;<BR>/comment:&nbsp;"text&nbsp;"&nbsp;<BR>为新建或现有组添加注释。注释文字的最大长度是&nbsp;48&nbsp;个字符，并用引号引住。&nbsp;<BR>/domain&nbsp;<BR>在当前域的主域控制器中执行操作，否则仅在本地计算机上执行操作。&nbsp;<BR>该参数仅应用于&nbsp;Windows&nbsp;NT&nbsp;Server&nbsp;域中的&nbsp;Windows&nbsp;NT&nbsp;Workstation&nbsp;计算机。Windows&nbsp;NT&nbsp;Server&nbsp;计算机默认为在主域控制器中操作。&nbsp;<BR>name&nbsp;[&nbsp;...]&nbsp;<BR>列出要添加到本地组或从本地组中删除的一个或多个用户名或组名，多个用户名或组名之间以空格分隔。可以是本地用户、其他域用户或全局组，但不能是其他本地组。如果是其他域的用户，要在用户名前加域名（例如，SALESRALPHR）。&nbsp;<BR>/add&nbsp;<BR>将全局组名或用户名添加到本地组中。在使用该命令将用户或全局组添加到本地组之前，必须为其建立帐号。&nbsp;<BR>/delete&nbsp;<BR>从本地组中删除组名或用户名。&nbsp;</P>
<P><BR><FONT color=#ff0000>Net&nbsp;Name&nbsp;</FONT></P>
<P><BR>添加或删除消息名（有时也称别名），或显示计算机接收消息的名称列表。要使用&nbsp;net&nbsp;name&nbsp;命令，计算机中必须运行信使服务。&nbsp;<BR>net&nbsp;name&nbsp;[name&nbsp;[/add&nbsp;|&nbsp;/delete]]&nbsp;<BR></P>
<P>参数&nbsp;<BR>无&nbsp;<BR>键入不带参数的&nbsp;net&nbsp;name&nbsp;将列出当前使用的名称。&nbsp;<BR>name&nbsp;<BR>指定接收消息的名称。名称最多为&nbsp;15&nbsp;个字符。&nbsp;<BR>/add&nbsp;<BR>将名称添加到计算机中。&nbsp;/add&nbsp;是可选项，键入&nbsp;net&nbsp;name&nbsp;name&nbsp;与键入&nbsp;net&nbsp;name&nbsp;name&nbsp;/add&nbsp;相同。&nbsp;<BR>/delete&nbsp;<BR>从计算机中删除名称。&nbsp;<BR></P>
<P><FONT color=#ff0000>Net&nbsp;Pause&nbsp;</FONT></P>
<P><BR>暂停正在运行的服务。&nbsp;<BR>net&nbsp;pause&nbsp;service&nbsp;<BR></P>
<P>参数&nbsp;<BR>service&nbsp;<BR>指下列服务：&nbsp;file&nbsp;server&nbsp;for&nbsp;macintosh（仅限于&nbsp;Windows&nbsp;NT&nbsp;Server）、ftp&nbsp;publishing&nbsp;service、lpdsvc、net&nbsp;logon、network&nbsp;dde、network&nbsp;dde&nbsp;dsdm、nt&nbsp;lm&nbsp;security&nbsp;support&nbsp;provider、remoteboot（仅限于&nbsp;Windows&nbsp;NT&nbsp;Server）、remote&nbsp;access&nbsp;server、schedule、server、simple&nbsp;tcp/ip&nbsp;services&nbsp;或&nbsp;workstation&nbsp;。&nbsp;<BR></P>
<P><FONT color=#ff0000>Net&nbsp;Print&nbsp;</FONT></P>
<P><BR>显示或控制打印作业及打印队列。&nbsp;<BR>net&nbsp;print&nbsp;\computername&nbsp;sharename&nbsp;<BR>net&nbsp;print&nbsp;[\computername&nbsp;]&nbsp;job#&nbsp;[/hold&nbsp;|&nbsp;/release&nbsp;|&nbsp;/delete]&nbsp;<BR></P>
<P>参数&nbsp;<BR>computername&nbsp;<BR>共享打印机队列的计算机名。&nbsp;<BR>sharename&nbsp;<BR>打印队列名称。当包含&nbsp;computername&nbsp;与&nbsp;sharename&nbsp;时，使用反斜杠&nbsp;()&nbsp;将它们分开。&nbsp;<BR>job#&nbsp;<BR>在打印机队列中分配给打印作业的标识号。有一个或多个打印机队列的计算机为每个打印作业分配唯一标识号。如果某个作业号用于共享打印机队列中，则不能指定给其他作业，也不能分配给其他打印机队列中的作业。&nbsp;<BR>/hold&nbsp;<BR>使用&nbsp;job#&nbsp;时，在打印机队列中使打印作业等待。打印作业停留在打印机队列中，并且其他打印作业只能等到释放该作业之后才能进入。&nbsp;<BR>/release&nbsp;<BR>释放保留的打印作业。&nbsp;<BR>/delete&nbsp;<BR>从打印机队列中删除打印作业。&nbsp;</P>
<P><BR><FONT color=#ff0000>Net&nbsp;Send&nbsp;</FONT></P>
<P><BR>向网络的其他用户、计算机或通信名发送消息。要接收消息必须运行信使服务。&nbsp;<BR>net&nbsp;send&nbsp;{name&nbsp;|&nbsp;*&nbsp;|&nbsp;/domain[:name]&nbsp;|&nbsp;/users}&nbsp;message&nbsp;<BR></P>
<P>参数&nbsp;<BR>name&nbsp;<BR>要接收发送消息的用户名、计算机名或通信名。如果计算机名包含空字符，则要将其用引号("&nbsp;")引住。&nbsp;<BR>*&nbsp;<BR>将消息发送到组中所有名称。&nbsp;<BR>/domain[:name]&nbsp;<BR>将消息发送到计算机域中的所有名称。如果指定&nbsp;name，则消息将发送到指定域或组中的所有名称。&nbsp;<BR>/users&nbsp;<BR>将消息发送到与服务器连接的所有用户。&nbsp;<BR>message&nbsp;<BR>作为消息发送的文本。&nbsp;<BR></P>
<P><FONT color=#ff0000>Net&nbsp;Session&nbsp;</FONT></P>
<P><BR>列出或断开本地计算机和与之连接的客户端的会话。&nbsp;<BR>net&nbsp;session&nbsp;[\computername]&nbsp;[/delete]&nbsp;<BR></P>
<P>参数&nbsp;<BR>无&nbsp;<BR>键入不带参数的&nbsp;net&nbsp;session&nbsp;可以显示所有与本地计算机的会话的信息。&nbsp;<BR>\computername&nbsp;<BR>标识要列出或断开会话的计算机。&nbsp;<BR>/delete&nbsp;<BR>结束与&nbsp;\computername&nbsp;计算机会话并关闭本次会话期间计算机的所有打开文件。如果省略&nbsp;\computername&nbsp;参数，将取消与本地计算机的所有会话。&nbsp;<BR></P>
<P><FONT color=#ff0000>Net&nbsp;Share&nbsp;</FONT></P>
<P><BR>创建、删除或显示共享资源。&nbsp;<BR>net&nbsp;share&nbsp;sharename&nbsp;<BR>net&nbsp;share&nbsp;sharename=drive:path&nbsp;[/users:number&nbsp;|&nbsp;/unlimited]&nbsp;[/remark:"text"]&nbsp;<BR>net&nbsp;share&nbsp;sharename&nbsp;[/users:number&nbsp;|&nbsp;unlimited]&nbsp;[/remark:"text"]&nbsp;<BR>net&nbsp;share&nbsp;{sharename&nbsp;|&nbsp;drive:path}&nbsp;/delete&nbsp;<BR></P>
<P>参数&nbsp;<BR>无&nbsp;<BR>键入不带参数的&nbsp;net&nbsp;share&nbsp;将显示本地计算机上所有共享资源的信息。&nbsp;<BR>sharename&nbsp;<BR>是共享资源的网络名称。键入带&nbsp;sharename&nbsp;的&nbsp;net&nbsp;share&nbsp;命令，只显示该共享信息。&nbsp;<BR>drive:path&nbsp;<BR>指定共享目录的绝对路径。&nbsp;<BR>/users:number&nbsp;<BR>设置可同时访问共享资源的最大用户数。&nbsp;<BR>/unlimited&nbsp;<BR>不限制同时访问共享资源的用户数。&nbsp;<BR>/remark:"text&nbsp;"&nbsp;<BR>添加关于资源的注释，注释文字用引号引住。&nbsp;<BR>/delete&nbsp;<BR>停止共享资源。&nbsp;<BR></P>
<P><FONT color=#ff0000>Net&nbsp;Start&nbsp;</FONT></P>
<P><BR>启动服务，或显示已启动服务的列表。如果服务名是两个或两个以上的词，如&nbsp;Net&nbsp;Logon&nbsp;或Computer&nbsp;Browser，则必须用引号&nbsp;(" ")&nbsp;引住。.&nbsp;<BR>net&nbsp;start&nbsp;[service]&nbsp;<BR></P>
<P>参数&nbsp;<BR>无&nbsp;<BR>键入不带参数的&nbsp;net&nbsp;start&nbsp;则显示运行服务的列表。&nbsp;<BR>service&nbsp;<BR>包括下列服务：&nbsp;alerter、client&nbsp;service&nbsp;for&nbsp;netware、clipbook&nbsp;server、computer&nbsp;browser、dhcp&nbsp;client&nbsp;、directory&nbsp;replicator&nbsp;、eventlog&nbsp;、ftp&nbsp;publishing&nbsp;service&nbsp;、lpdsvc、messenger&nbsp;、net&nbsp;logon&nbsp;、network&nbsp;dde&nbsp;、network&nbsp;dde&nbsp;dsdm&nbsp;、network&nbsp;monitor<BR>ing&nbsp;agent&nbsp;、nt&nbsp;lm&nbsp;security&nbsp;support&nbsp;provider&nbsp;、ole&nbsp;、remote&nbsp;access&nbsp;connection&nbsp;manager&nbsp;、remote&nbsp;access&nbsp;isnsap&nbsp;service&nbsp;、remote&nbsp;access&nbsp;server&nbsp;、remote&nbsp;procedure&nbsp;call&nbsp;(rpc)&nbsp;locator&nbsp;、remote&nbsp;procedure&nbsp;call&nbsp;(rpc)&nbsp;service&nbsp;、schedule&nbsp;、server&nbsp;、simple&nbsp;tcp/ip&nbsp;services&nbsp;、snmp、spooler&nbsp;、tcp/ip&nbsp;netbios&nbsp;helper&nbsp;、ups&nbsp;及&nbsp;workstation。&nbsp;<BR></P>
<P>下列服务仅在&nbsp;Windows&nbsp;NT&nbsp;Server&nbsp;下可用：file&nbsp;server&nbsp;for&nbsp;macintosh、gateway&nbsp;service&nbsp;for&nbsp;netware、microsoft&nbsp;dhcp&nbsp;server、print&nbsp;server&nbsp;for&nbsp;macintosh、remoteboot、windows&nbsp;internet&nbsp;name&nbsp;service&nbsp;。&nbsp;<BR></P>
<P><FONT color=#ff0000>Net&nbsp;Statistics&nbsp;</FONT></P><FONT color=#ff0000></FONT>
<P><BR>显示本地工作站或服务器服务的统计记录。&nbsp;<BR>net&nbsp;statistics&nbsp;[workstation&nbsp;|&nbsp;server]&nbsp;<BR></P>
<P>参数&nbsp;<BR>无<BR>键入不带参数的&nbsp;net&nbsp;statistics&nbsp;将列出其统计信息可用的运行服务。&nbsp;<BR>workstation&nbsp;<BR>显示本地工作站服务的统计信息。&nbsp;<BR>server&nbsp;<BR>显示本地服务器服务的统计信息。&nbsp;<BR></P>
<P><FONT color=#ff0000>Net&nbsp;Stop&nbsp;</FONT></P>
<P><BR>停止&nbsp;Windows&nbsp;NT&nbsp;网络服务。&nbsp;<BR>net&nbsp;stop&nbsp;service&nbsp;<BR></P>
<P>参数&nbsp;<BR>service&nbsp;<BR>包括下列服务：&nbsp;alerter（警报）、client&nbsp;service&nbsp;for&nbsp;netware（Netware&nbsp;客户端服务）、clipbook&nbsp;server（剪贴簿服务器）、computer&nbsp;browser（计算机浏览器）、directory&nbsp;replicator（目录复制器）、ftp&nbsp;publishing&nbsp;service&nbsp;(ftp)（ftp&nbsp;发行服务）、lpdsvc、messenger（信使）、net&nbsp;logon（网络登录）、network&nbsp;dde（网络&nbsp;dde）、network&nbsp;dde&nbsp;dsdm（网络&nbsp;dde&nbsp;dsdm）、network&nbsp;monitor&nbsp;agent（网络监控代理）、nt&nbsp;lm&nbsp;security&nbsp;support&nbsp;provider（NT&nbsp;LM&nbsp;安全性支持提供）、ole（对象链接与嵌入）、remote&nbsp;access&nbsp;connection&nbsp;manager（远程访问连接管理器）、remote&nbsp;access&nbsp;isnsap&nbsp;service（远程访问&nbsp;isnsap&nbsp;服务）、remote&nbsp;access&nbsp;server（远程访问服务器）、remote&nbsp;procedure&nbsp;call&nbsp;(rpc)&nbsp;locator（远程过程调用定位器）、remote&nbsp;procedure&nbsp;call&nbsp;(rpc)&nbsp;service（远程过程调用服务）、schedule（调度）、server（服务器）、simple&nbsp;tcp/ip&nbsp;services（简单&nbsp;TCP/IP&nbsp;服务）、snmp、spooler（后台打印程序）、tcp/ip&nbsp;netbios&nbsp;helper（TCP/IP&nbsp;NETBIOS&nbsp;辅助工具）、ups&nbsp;及&nbsp;workstation（工作站）。&nbsp;<BR></P>
<P>下列服务仅在&nbsp;Windows&nbsp;NT&nbsp;Server&nbsp;中可用：&nbsp;file&nbsp;server&nbsp;for&nbsp;macintosh、gateway&nbsp;service&nbsp;for&nbsp;netware、microsoft&nbsp;dhcp&nbsp;server、print&nbsp;server&nbsp;for&nbsp;macintosh、remoteboot、windows&nbsp;internet&nbsp;name&nbsp;service。&nbsp;<BR></P>
<P><FONT color=#ff0000>Net&nbsp;Time&nbsp;</FONT></P>
<P><BR>使计算机的时钟与另一台计算机或域的时间同步。不带&nbsp;/set&nbsp;参数使用时，将显示另一台计<BR>算机或域的时间。&nbsp;<BR>net&nbsp;time&nbsp;[\computername&nbsp;|&nbsp;/domain[:name]]&nbsp;[/set]&nbsp;<BR></P>
<P>参数&nbsp;<BR>\computername&nbsp;<BR>要检查或同步的服务器名。&nbsp;<BR>/domain[:name]&nbsp;<BR>指定要与其时间同步的域。&nbsp;<BR>/set&nbsp;<BR>使本计算机时钟与指定计算机或域的时钟同步。&nbsp;<BR></P>
<P><FONT color=#ff0000>Net&nbsp;Use&nbsp;</FONT></P>
<P><BR>连接计算机或断开计算机与共享资源的连接，或显示计算机的连接信息。该命令也控制永久网络连接。&nbsp;<BR>net&nbsp;use&nbsp;[devicename&nbsp;|&nbsp;*]&nbsp;[\computernamesharename[volume]]&nbsp;[password&nbsp;|&nbsp;*]]&nbsp;[/user:[domainname]username]&nbsp;[[/delete]&nbsp;|&nbsp;[/persistent:{yes&nbsp;|&nbsp;no}]]&nbsp;net&nbsp;use&nbsp;devicename&nbsp;[/home[password&nbsp;|&nbsp;*]]&nbsp;[/delete:{yes&nbsp;|&nbsp;no}]&nbsp;net&nbsp;use&nbsp;[/persistent:{yes&nbsp;|&nbsp;no}]&nbsp;<BR></P>
<P>参数&nbsp;<BR>无&nbsp;<BR>键入不带参数的&nbsp;net&nbsp;use&nbsp;将列出网络连接。&nbsp;<BR>devicename&nbsp;<BR>指定要连接到的资源名称或要断开的设备名称。有两类设备名：磁盘驱动器（D:&nbsp;到&nbsp;Z:）和打印机（LPT1:&nbsp;到&nbsp;LPT3）。若键入星号而不是指定设备名将分配下一个可用设备名。&nbsp;<BR>\computernamesharename&nbsp;<BR>服务器及共享资源的名称。如果计算机名包含空白字符，要用引号&nbsp;("&nbsp;")&nbsp;将双反斜线及计算机名引住。计算机名长度可以是&nbsp;1-15&nbsp;个字符。&nbsp;<BR>volume&nbsp;<BR>指定服务器上的&nbsp;NetWare&nbsp;卷。要连接到&nbsp;NetWare&nbsp;服务器，必须安装并运行&nbsp;NetWare&nbsp;客户机服务&nbsp;(Windows&nbsp;NT&nbsp;Workstation)&nbsp;或&nbsp;NetWare&nbsp;网关服务&nbsp;(Windows&nbsp;NT&nbsp;Server)。&nbsp;<BR>password&nbsp;<BR>访问共享资源的密码。&nbsp;<BR>*&nbsp;<BR>提示键入密码。在密码提示行中键入密码时，将不显示该密码。&nbsp;<BR>/user&nbsp;<BR>指定进行连接的另外一个用户。&nbsp;<BR>domainname&nbsp;<BR>指定另一个域。例如&nbsp;net&nbsp;use&nbsp;d:&nbsp;\servershare&nbsp;/user:adminmariel&nbsp;连接用户&nbsp;mariel，如同从&nbsp;admin&nbsp;域连接一样。如果省略域，将使用当前登录域。&nbsp;<BR>username&nbsp;<BR>指定登录的用户名。&nbsp;<BR>/home&nbsp;<BR>将用户连接到其宿主目录。&nbsp;<BR>/delete&nbsp;<BR>取消指定网络连接。如果用户以星号指定连接，则取消所有网络连接。&nbsp;<BR>/persistent&nbsp;<BR>控制永久网络连接的使用。默认为上次使用的设置。无设备的连接不是永久的。&nbsp;<BR>yes&nbsp;<BR>保存建立的所有连接，并在下次登录时还原。&nbsp;<BR>no&nbsp;<BR>不保存建立的连接和继发连接，并在下次登录时还原现有连接。使用&nbsp;/delete&nbsp;开关项取消永久连接。&nbsp;<BR></P>
<P><FONT color=#ff0000>Net&nbsp;User&nbsp;</FONT></P>
<P><BR>添加或更改用户帐号或显示用户帐号信息。&nbsp;<BR>net&nbsp;user&nbsp;[username&nbsp;[password&nbsp;|&nbsp;*]&nbsp;[options]]&nbsp;[/domain]&nbsp;<BR>net&nbsp;user&nbsp;username&nbsp;{password&nbsp;|&nbsp;*}&nbsp;/add&nbsp;[options]&nbsp;[/domain]&nbsp;<BR>net&nbsp;user&nbsp;username&nbsp;[/delete]&nbsp;[/domain]&nbsp;<BR></P>
<P>参数&nbsp;<BR>无&nbsp;<BR>键入不带参数的&nbsp;net&nbsp;user&nbsp;将查看计算机上的用户帐号列表。&nbsp;<BR>username&nbsp;<BR>添加、删除、更改或查看用户帐号名。用户帐号名最多可以有&nbsp;20&nbsp;个字符。&nbsp;<BR>password&nbsp;<BR>为用户帐号分配或更改密码。密码必须满足在&nbsp;net&nbsp;accounts&nbsp;命令&nbsp;/minpwlen&nbsp;选项中设置的最小参数。最多是&nbsp;14&nbsp;个字符。&nbsp;<BR>*&nbsp;<BR>提示输入密码。在密码提示行中键入密码时，将不显示该密码。&nbsp;<BR>/domain&nbsp;<BR>在计算机主域的主域控制器中执行操作。&nbsp;<BR>该参数仅在&nbsp;Windows&nbsp;NT&nbsp;Server&nbsp;域成员的&nbsp;Windows&nbsp;NT&nbsp;Workstation&nbsp;计算机上可用。默认情况下，Windows&nbsp;NT&nbsp;Server&nbsp;计算机在主域控制器中执行操作。&nbsp;<BR>注意：在计算机主域的主域控制器发生该动作。它可能不是登录域。&nbsp;<BR>/add&nbsp;<BR>将用户帐号添加到用户帐号数据库。&nbsp;<BR>/delete&nbsp;<BR>从用户帐号数据库中删除用户帐号。&nbsp;<BR>选项如下所示：&nbsp;<BR>/active:{no&nbsp;|&nbsp;yes}&nbsp;<BR>启用或禁止用户帐号。如果不激活用户帐号，用户就不能访问计算机上的资源。默认值是&nbsp;yes&nbsp;（激活）。&nbsp;<BR>/comment:"text"&nbsp;<BR>提供用户帐号的注释。该注释最多可以有&nbsp;48&nbsp;个字符，文字用引号引住。&nbsp;<BR>/countrycode:nnn&nbsp;<BR>使用操作系统的国家代码以便为用户帮助和错误信息文件提供指定语言文件。0&nbsp;值表示默认国家代码。&nbsp;<BR>/expires:{date&nbsp;|&nbsp;never}&nbsp;<BR>如果设置&nbsp;date，将导致用户帐号过期，never&nbsp;不对用户帐号设置时间限制。过期日期根据&nbsp;/countrycode&nbsp;值可以是下列格式：&nbsp;mm/dd/yy、dd/mm/yy&nbsp;或&nbsp;mmm,&nbsp;dd,&nbsp;yy。注意帐号在指定日期开始时过期。月份可以是数字、全名或三个字母的简拼。年可以是两位或四位数，使用逗号或斜线（不要用空格）&nbsp;区分日期的各部分。如果省略&nbsp;yy&nbsp;，则使用该日期下一次到来的年份（根据计算机的时钟）。例如如果在&nbsp;1994&nbsp;年&nbsp;1&nbsp;月&nbsp;10&nbsp;日到&nbsp;1995&nbsp;年&nbsp;1&nbsp;月&nbsp;8&nbsp;日之间输入下列日期项，那它们相同：jan,9&nbsp;1/9/95&nbsp;january,9,1995&nbsp;1/9&nbsp;<BR>/fullname:"name"&nbsp;<BR>指定用户全名而不是用户名。用引号将名字引住。&nbsp;<BR>/homedir:path&nbsp;<BR>设置用户宿主目录的路径。该路径必须存在。&nbsp;<BR>/homedirreq:{yes&nbsp;|&nbsp;no}&nbsp;<BR>设置是否需要宿主目录。&nbsp;<BR>/passwordchg:{yes&nbsp;|&nbsp;no}&nbsp;<BR>指定用户是否能改变自己的密码。默认值是&nbsp;yes。&nbsp;<BR>/passwordreq:{yes&nbsp;|&nbsp;no}&nbsp;<BR>指定用户帐号是否需要密码，默认值是&nbsp;yes。&nbsp;<BR>/profilepath:[path]&nbsp;<BR>设置用户登录配置文件的路径。该路径名指向注册表配置文件。&nbsp;<BR>/scriptpath:path&nbsp;<BR>为用户登录脚本设置路径。Path&nbsp;不能是绝对路径；&nbsp;<BR>path&nbsp;是相对于&nbsp;%systemroot%SYSTEM32REPLIMPORTSCRIPTS&nbsp;的相对路径：。&nbsp;<BR>/times:{times&nbsp;|&nbsp;all}&nbsp;<BR>指定允许用户使用计算机的时间。times&nbsp;值表示为&nbsp;day[-day][,&nbsp;day[-day]]&nbsp;,&nbsp;time[-time][,&nbsp;time[-time]],&nbsp;增量限制为一小时。Days&nbsp;可以是全名或简写（M、T、W、Th、F、Sa、Su）。Hours&nbsp;可以是&nbsp;12&nbsp;小时制或&nbsp;24&nbsp;小时制。对于&nbsp;12&nbsp;小时值，使用&nbsp;AM、PM&nbsp;或&nbsp;A.M、P.M。all&nbsp;表示用户总可以登录。空值表示用户永远不能登录。用逗号分隔日期和时间，分隔时间和日期的单位用分号（例如&nbsp;M,4AM-5PM;&nbsp;T,1PM-3PM）。指定&nbsp;/times&nbsp;时不要使用空格。&nbsp;<BR>/usercomment:"text&nbsp;"&nbsp;<BR>让管理员添加或更改帐号的“用户注释”。用引号引住文字。&nbsp;<BR>/workstations:{computername[,...]&nbsp;|&nbsp;*}&nbsp;<BR>列出最多八个用户可以登录到网络的工作站。用逗号分隔列表中的多个项。如果&nbsp;/workstations&nbsp;没有列表，或如果列表是星号“*”，则用户可以从任何一台计算机登录。&nbsp;</P>
<P><BR><FONT color=#ff0000>Net&nbsp;View&nbsp;</FONT></P>
<P><BR>显示域列表、计算机列表或指定计算机的共享资源列表。&nbsp;<BR>net&nbsp;view&nbsp;[\computername&nbsp;|&nbsp;/domain[:domainname]]&nbsp;<BR>net&nbsp;view&nbsp;/network:nw&nbsp;[\computername]&nbsp;<BR></P>
<P>参数&nbsp;<BR>无&nbsp;<BR>键入不带参数的&nbsp;net&nbsp;view&nbsp;将显示当前域的计算机列表。&nbsp;<BR>\computername&nbsp;<BR>指定要查看其共享资源的计算机。&nbsp;<BR>/domain[:domainname]&nbsp;<BR>指定要查看其可用计算机的域。如果省略&nbsp;domainname&nbsp;，则显示网络的所有域。&nbsp;<BR>/network:nw&nbsp;<BR>显示&nbsp;NetWare&nbsp;网络中所有可用的服务器。如果指定计算机名，则显示&nbsp;NetWare&nbsp;网络中该计算机的可用资源。也可以用此开关指定添加到系统中的其他网络。</P><img src ="http://www.cnblogs.com/murky/aggbug/507294.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47984/" target="_blank">《商业周刊》:Mozilla的志愿者开发模式被复制</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>[转]FTP命令大全</title><link>http://www.cnblogs.com/murky/archive/2006/09/18/507292.html</link><dc:creator>柴火</dc:creator><author>柴火</author><pubDate>Mon, 18 Sep 2006 04:06:00 GMT</pubDate><guid>http://www.cnblogs.com/murky/archive/2006/09/18/507292.html</guid><wfw:comment>http://www.cnblogs.com/murky/comments/507292.html</wfw:comment><comments>http://www.cnblogs.com/murky/archive/2006/09/18/507292.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/murky/comments/commentRss/507292.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/murky/services/trackbacks/507292.html</trackback:ping><description><![CDATA[<P>现在FTP的软件很多，但是在一些高级应用的时候我们还是要反普归真的哟！收藏如下：</P>
<P>===================================================================</P>
<P><BR>FTP:文件传输协议。先说说他的功能吧，主要就是从运行FTP服务器的计算机传输文件。可以交互使用。这里要注意，只有安装了tcp/ip协议的机器才能使用ftp命令。&nbsp;<BR>命令格式：ftp&nbsp;[-v][-d][-i][-n][-g][-s:filename][-a][-w:windowsize][computer]&nbsp;<BR><BR>说说他们的含义吧。&nbsp;<BR>-v&nbsp;不显示远程服务器响应&nbsp;<BR>-n&nbsp;禁止第一次连接的时候自动登陆&nbsp;<BR>-i&nbsp;在多个文件传输期间关闭交互提示&nbsp;<BR>-d&nbsp;允许调试、显示客户机和服务器之间传递的全部ftp命令&nbsp;<BR>-g&nbsp;不允许使用文件名通配符，文件名通配符的意思是说允许在本地文件以及路径名中使用通配字符&nbsp;<BR>-s:filename&nbsp;指定包含ftp命令的文本文件。在ftp命令启动后将自动运行这些命令。在加的参数里不能有空格。&nbsp;<BR>-a&nbsp;绑定数据连接时，使用任何的本地端口&nbsp;<BR>-w:windowsize&nbsp;忽略默认的4096传输缓冲区&nbsp;<BR>computer&nbsp;指定要连接的远程计算机的ip地址&nbsp;<BR><BR><BR>呵呵，理解了上面的，就说说一些具体的命令，我个人觉得虽然现在工具用起来很方便了，但懂这些命令在很多地方还是很有用的，就像现在nt下的命令提示符<BR>1）&nbsp;?&nbsp;<BR>说明：显示ftp命令的说明。后面可以加参数，是加需要解释的命令名，不加则显示包含所有命令列表。&nbsp;<BR><BR>2）&nbsp;append&nbsp;<BR>说明：使用当前文件类型设置，将本地文件附加到远程计算机中。大概格式是&nbsp;<BR>append&nbsp;local-file&nbsp;[remote-file]&nbsp;其中local-file是说指定要添加的本地文件。&nbsp;<BR>remote-file是说指定要将local-file附加到远程计算机文件，要是省了这个，则是使用本地文件名做远程文件名。&nbsp;<BR><BR>3)ascii&nbsp;<BR>说明:默认情况下，将文件传输类型设置为ASCII&nbsp;<BR><BR>4)bell&nbsp;<BR>说明：响玲开关，意思是文件传输完成后是否有玲声提醒。默认是关闭的。&nbsp;<BR><BR>5)binary&nbsp;<BR>说明：将文件传输类型设置为二进制。&nbsp;<BR><BR>6)bye&nbsp;<BR>说明:结束和远程计算机的ftp会话，也就是安全断开，退出ftp.&nbsp;<BR><BR>7)cd&nbsp;<BR>说明：更改远程计算机上的工作目录。如cd&nbsp;data&nbsp;其中data是要进入的远程计算机的目录。&nbsp;<BR><BR>8)close&nbsp;<BR>说明:结束与远程服务器的ftp会话，并返回命令解释程序。&nbsp;<BR><BR>9)dir&nbsp;<BR>说明:显示远程的文件以及子目录列表。如dir&nbsp;data&nbsp;local-file&nbsp;<BR>其中data是指定要查看列表的目录，没指定的话就是当前目录。local-file是指定要保存列表的本地文件，不指定的话就在屏幕输出。&nbsp;<BR><BR>10)debug&nbsp;<BR>说明：调试开关，打开的时候打印每个发送到远程计算机的命令，命令前有——&gt;&nbsp;<BR>默认情况是关闭的。&nbsp;<BR><BR>11)disconnnect&nbsp;<BR>说明：与远程计算机断开连接，但还保持着ftp命令提示符。&nbsp;<BR><BR>12)get&nbsp;<BR>说明：使用当前文件传输类型，把远程的文件拷贝到本地计算机上。&nbsp;<BR>如get&nbsp;remote-file&nbsp;local-file&nbsp;<BR>remote-file是指定要复制的文件，local-file是指定本地计算机上的文件名，&nbsp;<BR>没有指定的话则个remote-file同名。&nbsp;<BR><BR>13)glob&nbsp;<BR>说明：文件名通配开关&nbsp;<BR><BR>14)hash&nbsp;<BR>说明：转换每个传输数据快的散列标记打印(#).数据快的大小是2048字节。默认情况下是关闭的，&nbsp;<BR><BR>15)help&nbsp;<BR>说明：显示ftp命令的解释，如help&nbsp;commmand&nbsp;其中command就是你要解释的命令，如果不加command这个参数的话就会显示所有命令的列表&nbsp;<BR><BR>16)!&nbsp;<BR>说明:这个命令差点忘记了!功能是在本地计算机上运行指定命令。如!&nbsp;command&nbsp;其中command就是你要运行的命令，如果不加command这个参数的话，则显示本地命令提示，&nbsp;这时你输入exit命令就能返回到ftp了。&nbsp;<BR><BR>17)lcd&nbsp;<BR>说明:更改本地计算机的本地目录,在默认的时候是启动ftp的目录.这个不要觉得没用啊，在你使用ftp的时候为了传递文件不是常改变本地和远程计算机的目录吗?&nbsp;<BR>如lcd&nbsp;[directory]&nbsp;其中[directory]是指定要进入的本地计算机的目录,如果你不加这个参数,就会显示出本地计算机的工作目录.&nbsp;<BR><BR>18)literal&nbsp;<BR>说明:向远程ftp服务器发送协商参数,报告.&nbsp;<BR>如lireral&nbsp;argument&nbsp;[...]&nbsp;其中argument是指定要发送给远程服务器的协商参数。&nbsp;<BR><BR>19)ls&nbsp;<BR>说明:显示远程目录的文件和字目录.&nbsp;<BR>如ls&nbsp;remote-directory&nbsp;local-file&nbsp;<BR>其中remote-directory是指要查看的列表的目录,不指定的话显示的是当前工作目录。local-file是指定要保存列表的本地文件.不指定的话是在屏幕上输出.&nbsp;<BR><BR>20)mdelete&nbsp;<BR>说明:删除远程计算机上的文件.如mdelete&nbsp;remote-file&nbsp;...&nbsp;<BR>remote-file肯定是要删的文件啊，可以删除多个.&nbsp;<BR><BR>21)mdir&nbsp;<BR>说明:显示远程目录的文件和子目录列表,他允许指定多个文件.&nbsp;<BR>如mdir&nbsp;remote-file&nbsp;...&nbsp;local-file&nbsp;<BR>参数我想大家应该明白什么意思吧?不明白就看看前面的类似命令吧.&nbsp;<BR><BR>22)mget&nbsp;<BR>说明:使用当前文件传输类型将多个远程文件复制到本地计算机.&nbsp;<BR>如mget&nbsp;remote-files&nbsp;...&nbsp;<BR>其实remote-files可以指定多个，他就是指定要复制到本地计算机的远程文件.&nbsp;<BR><BR>23)mkdir&nbsp;<BR>说明:创建远程目录.&nbsp;<BR>如mkdir&nbsp;directory&nbsp;这个命令和nt下的命令提示符中的md&nbsp;directory一样，不多说了.&nbsp;<BR><BR>24)mls&nbsp;<BR>说明:显示远程目录的文件和目录简表&nbsp;<BR>如mls&nbsp;remote-file&nbsp;...&nbsp;local-file&nbsp;<BR>其中remote-file这个参数是必须要加的，’’-’’是使用远程计算机的当前工作目录.&nbsp;<BR><BR>25)mput&nbsp;<BR>说明:使用当前文件传输类型,将本地文件复制到远程计算机.&nbsp;<BR>如mput&nbsp;local-files&nbsp;...&nbsp;<BR><BR>26)open&nbsp;<BR>说明:连接到指定ftp服务器上，&nbsp;<BR>如open&nbsp;computer&nbsp;port&nbsp;其中computer一般是远程计算机的ip地址,port不用说就是指定端口了。&nbsp;<BR><BR>27)prompt&nbsp;<BR>说明:转换提示,在多个文件传输的时候,ftp提示可以有选择的检索或保存文件，如果关闭提示,则mget和mput命令传输所有文件,在默认情况下是打开的.&nbsp;<BR><BR>28)put&nbsp;<BR>说明:使用当前文件传输类型将本地文件复制到远程计算机中，&nbsp;<BR>如put&nbsp;local-file&nbsp;remote-file&nbsp;<BR>其中local-file是指定要复制的本地文件，&nbsp;<BR>remote-file是指定要复制的远程计算机上的文件名，不指定的话是和本地计算机上的文件名同名.&nbsp;<BR><BR>29)pwd&nbsp;<BR>说明:显示远程呢感计算机上的当前目录.&nbsp;<BR><BR>30)quit&nbsp;<BR>说明:结束与远程计算机的ftp会话,并退出ftp.&nbsp;<BR><BR>31)quote&nbsp;<BR>说明:向远程ftp服务器发送协议,报告.期待ftp单码应答,这个命令的功能和literal相同.&nbsp;<BR><BR>32)recv&nbsp;<BR>说明:使用当前文件传输类型将远程文件复制到本地计算机,他与get命令作用相同。&nbsp;<BR><BR>33)remotehelp&nbsp;<BR>说明:显示远程命令的帮助.这个命令的用法和help,!一样可以参考他的用法.&nbsp;<BR><BR>34)rename&nbsp;<BR>说明:更改远程计算机上的文件名。&nbsp;<BR>这个命令和nt的命令提示符的ren一样，如rename&nbsp;filename&nbsp;newfilename&nbsp;<BR><BR>35)rmdir&nbsp;<BR>说明:删除远程目录.&nbsp;<BR>这个命令和nt的命令提示符的rm一样，如rmdir&nbsp;directory&nbsp;<BR><BR>36)send&nbsp;<BR>说明:使用当前文件传输类型将本地文件复制到远程计算机.send和put命令的功能一样。&nbsp;<BR>如send&nbsp;local-file&nbsp;remote-file&nbsp;<BR><BR>37)status&nbsp;<BR>说明:显示ftp连接和转换的当前状态&nbsp;<BR><BR>38)trace&nbsp;<BR>说明:转换报文跟踪,运行ftp的命令时,trace将显示没个报文的理由。&nbsp;<BR><BR>39)type&nbsp;<BR>说明:设置或显示文件传输类型.&nbsp;<BR>如type&nbsp;[type-name]&nbsp;<BR>其中type-name&nbsp;的意思是文件传输的类型，默认是ASCII,没加这个参数就是显示当前的传输类型.&nbsp;<BR><BR>40)user&nbsp;<BR>说明:指定连接到远程计算机的用户.&nbsp;<BR>如user&nbsp;user-name&nbsp;[passwd]&nbsp;[account]&nbsp;<BR>其中user-name不用说都是用来登陆计算机的用户名了，&nbsp;<BR>passwd是指定user-name的密码,不指定的话ftp会提示输入密码。&nbsp;<BR>account是指定用来登陆计算机的帐号,如不指定,ftp会提示输入帐号.&nbsp;<BR><BR>41)verbose&nbsp;<BR>说明:转换冗余模式。这里如果打开,会显示所有ftp响应,文件传输结束的时候会显示传输的效率和统计信息,默认的情况是打开的.&nbsp;<BR><BR>呵呵，命令就介绍这些了，可以自己熟悉一下,其实现在ftp的软件很多,很方便，但你说这些命令没用也是不可能的，就像windows下一样还保留着命令提示符.&nbsp;特别有些时候ftp软件很多地方做不到的，.?&nbsp;什么地方。&nbsp;<BR>打个比方，我看过一种觅名ftp用户得到admin的入侵列子,就的用到他.呵呵，这里不多说了,就写到这里了。<BR></P><img src ="http://www.cnblogs.com/murky/aggbug/507292.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47984/" target="_blank">《商业周刊》:Mozilla的志愿者开发模式被复制</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>[转]如何在Web页面上直接打开、编辑、创建Office文档</title><link>http://www.cnblogs.com/murky/archive/2006/09/18/507288.html</link><dc:creator>柴火</dc:creator><author>柴火</author><pubDate>Mon, 18 Sep 2006 04:02:00 GMT</pubDate><guid>http://www.cnblogs.com/murky/archive/2006/09/18/507288.html</guid><wfw:comment>http://www.cnblogs.com/murky/comments/507288.html</wfw:comment><comments>http://www.cnblogs.com/murky/archive/2006/09/18/507288.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/murky/comments/commentRss/507288.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/murky/services/trackbacks/507288.html</trackback:ping><description><![CDATA[网上看到了一篇不错的文章，转载如下：<BR><BR>有朋友询问如何在Web页面上做到像SharePoint中的效果一样，能直接激活客户端的Word来打开.doc文件，而不是类似直接点击.doc文档链接时Word在IE中被打开那样。想想这个问题应该很多人都会感兴趣，所以干脆写一篇blog来大致描述一下方法。<BR><BR>在安装Office2003以后，有一个ActiveX控件被安装到了系统中，这个控件位于“Program&nbsp;Files\Microsoft&nbsp;Office\OFFICE11\owssupp.dll”。通过这个控件，客户端页面上的JavaScript就可以激活本地的Office软件，来实现打开、编辑Office文档。（另，Office&nbsp;XP应该就已经包含这个ActiveX控件了。）<BR><BR>首先，用Script创建一个本地的对象：<BR><BR>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">openDocObj&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">&nbsp;ActiveXObject(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">SharePoint.OpenDocuments.2</SPAN><SPAN style="COLOR: #000000">")</SPAN><SPAN style="COLOR: #000000">;&nbsp;</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">&nbsp;为了兼容Office&nbsp;XP，可以创建“SharePoint.OpenDocuments.1”</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN></DIV><BR>然后，调用openDocObj的相应的方法。比如打开服务器上的一个Office文档：<BR><BR>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">openDocObj.ViewDocument(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">http://www.abc.com/documents/sample.doc</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);</SPAN></DIV><BR>openDocObj对象会根据参数中不同的Office文档类型（.doc、.xls、.ppt）来打开不同的程序（Word、Excel、PowerPoint）。ViewDocument()方法还有一个重载签名，可以让我们手工指定激活哪个程序来打开文档：<BR><BR>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 32px; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">openDocObj.ViewDocument(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">http://www.abc.com/documents/sample.doc</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,&nbsp;要激活的程序的ProgID);<BR></SPAN></DIV><BR>那么要打开Office程序在线编辑文件又如何？<BR><BR>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">openDocObj.EditDocument(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">http://www.abc.com/documents/sample.doc</SPAN><SPAN style="COLOR: #000000">")</SPAN><SPAN style="COLOR: #000000">;</SPAN></DIV><BR><BR>就可以直接激活Word，在Word里面编辑文档，然后直接点击Word里面的保存功能，就可以将文件保存会服务器上了。注意：为了让Word能将编辑后的文档直接保存会服务器，访问Web站点的当前上下文的Windows&nbsp;Identity必须对服务器的相应目录（即“http://www.abc.com/documents”这个虚拟目录所对应的服务器上的物理路径）有相应的写权限，否则保存动作会失败。编辑完成后，EditDocument()会返回一个bool值，来反映编辑操作是否成功。<BR><BR>我们还可以通过打开服务器上的一个文档模版，来创建一个新的文档：<BR><BR>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">openDocObj.CreateNewDocument(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">http://www.abc.com/documents/sampleTemplate.dot</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">http://www.abc.com/documents/</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN></DIV><BR>就可以使用“http://www.abc.com/documents/sampleTemplate.dot”这个模版来创建一个新的文档，默认新文档的保存地点是“http://www.abc.com/documents/”。创建新文档时使用的程序取决于模版文件的类型（比如.dot模版会对应Word）。新文档的保存同样需要注意权限问题。CreateNewDocument()方法同样会返回一个bool值来反映操作是否成功。<BR><BR>CreateNewDocument()方法的第一个参数，除了可以使用一个模版的地址外，还可以直接指定为希望用来创建新文档的客户端程序的ProgID。<BR><BR><img src ="http://www.cnblogs.com/murky/aggbug/507288.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47984/" target="_blank">《商业周刊》:Mozilla的志愿者开发模式被复制</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>鼠标指向提示javascript程序</title><link>http://www.cnblogs.com/murky/archive/2006/09/18/507283.html</link><dc:creator>柴火</dc:creator><author>柴火</author><pubDate>Mon, 18 Sep 2006 03:56:00 GMT</pubDate><guid>http://www.cnblogs.com/murky/archive/2006/09/18/507283.html</guid><wfw:comment>http://www.cnblogs.com/murky/comments/507283.html</wfw:comment><comments>http://www.cnblogs.com/murky/archive/2006/09/18/507283.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/murky/comments/commentRss/507283.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/murky/services/trackbacks/507283.html</trackback:ping><description><![CDATA[摘要: 1//定义变量、设置默认值2varLabelFontFace="宋体,arial,Verdana";3varLabelFontColor="#000000";4varLabelFontSize="9pt";5varLabelFontStyle="Font.PLAIN";6varLabelBorderColor="#000000";7varLabelBackColor="#FFFFE1";8//设置&nbsp;&nbsp;<a href='http://www.cnblogs.com/murky/archive/2006/09/18/507283.html'>阅读全文</a><img src ="http://www.cnblogs.com/murky/aggbug/507283.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47984/" target="_blank">《商业周刊》:Mozilla的志愿者开发模式被复制</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>网页或VB中操作word的方法</title><link>http://www.cnblogs.com/murky/archive/2006/09/18/507279.html</link><dc:creator>柴火</dc:creator><author>柴火</author><pubDate>Mon, 18 Sep 2006 03:54:00 GMT</pubDate><guid>http://www.cnblogs.com/murky/archive/2006/09/18/507279.html</guid><wfw:comment>http://www.cnblogs.com/murky/comments/507279.html</wfw:comment><comments>http://www.cnblogs.com/murky/archive/2006/09/18/507279.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/murky/comments/commentRss/507279.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/murky/services/trackbacks/507279.html</trackback:ping><description><![CDATA[摘要: 这段代码给我帮了很大的忙，希望他能帮到更多的人！1PublicFunctioncopy_mb(file1,file2path)AsString2DimfsoAsObject3Dimname4name=Date&amp;((Timer()-0.0001))*100005Setfso=CreateObject("Scripting.FileSystemObject"[img]/images/wink.&nbsp;&nbsp;<a href='http://www.cnblogs.com/murky/archive/2006/09/18/507279.html'>阅读全文</a><img src ="http://www.cnblogs.com/murky/aggbug/507279.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47984/" target="_blank">《商业周刊》:Mozilla的志愿者开发模式被复制</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>Script直接写文件内容到word</title><link>http://www.cnblogs.com/murky/archive/2006/09/18/507275.html</link><dc:creator>柴火</dc:creator><author>柴火</author><pubDate>Mon, 18 Sep 2006 03:51:00 GMT</pubDate><guid>http://www.cnblogs.com/murky/archive/2006/09/18/507275.html</guid><wfw:comment>http://www.cnblogs.com/murky/comments/507275.html</wfw:comment><comments>http://www.cnblogs.com/murky/archive/2006/09/18/507275.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/murky/comments/commentRss/507275.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/murky/services/trackbacks/507275.html</trackback:ping><description><![CDATA[下面的页面实现的是直接写文件到word中，可是让大家了解word的精细控制<BR>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD>
<TABLE class=ubb_code cellSpacing=0 cellPadding=6 width="95%" align=right border=0>
<TBODY>
<TR>
<TD><BR><BR>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><SPAN style="COLOR: #008080">&nbsp;1</SPAN><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">HTML</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;2</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">HEAD</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;3</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">meta&nbsp;</SPAN><SPAN style="COLOR: #ff0000">HTTP-EQUIV</SPAN><SPAN style="COLOR: #0000ff">="Content-Type"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;content</SPAN><SPAN style="COLOR: #0000ff">="text/html;&nbsp;charset=gb_2312-80"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;4</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">link&nbsp;</SPAN><SPAN style="COLOR: #ff0000">rel</SPAN><SPAN style="COLOR: #0000ff">="stylesheet"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;type</SPAN><SPAN style="COLOR: #0000ff">="text/css"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;href</SPAN><SPAN style="COLOR: #0000ff">="edit.css"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;5</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">title</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000">保存为Word文档</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">title</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;6</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">HEAD</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;7</SPAN><SPAN style="COLOR: #000000"><IMG id=Codehighlighter1_206_1756_Open_Image onclick="this.style.display='none'; Codehighlighter1_206_1756_Open_Text.style.display='none'; Codehighlighter1_206_1756_Closed_Image.style.display='inline'; Codehighlighter1_206_1756_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_206_1756_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_206_1756_Closed_Text.style.display='none'; Codehighlighter1_206_1756_Open_Image.style.display='inline'; Codehighlighter1_206_1756_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">script&nbsp;</SPAN><SPAN style="COLOR: #ff0000">language</SPAN><SPAN style="COLOR: #0000ff">="javascript"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN id=Codehighlighter1_206_1756_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_206_1756_Open_Text><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;8</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>window.returnValue</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">0</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">&nbsp;9</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">10</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">BODY</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">11</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">font&nbsp;color</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">#000080</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;&lt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">strong</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;&lt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">div&nbsp;id</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">strHint</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;align</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">center</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">数据处理中,请等待<IMG src="http://www.cnblogs.com/images/dot.gif"></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">br</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">12</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>Data&nbsp;processing,&nbsp;please&nbsp;wait<IMG src="http://www.cnblogs.com/images/dot.gif"></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;/</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">div</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;&lt;/</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">strong</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;&lt;/</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">font</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;&lt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">font&nbsp;color</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">#0080C0</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">13</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">14</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">15</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">script&nbsp;language</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">vbscript</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">16</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">17</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>On&nbsp;Error&nbsp;Resume&nbsp;Next<BR></SPAN><SPAN style="COLOR: #008080">18</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">19</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>Dim&nbsp;wApp<BR></SPAN><SPAN style="COLOR: #008080">20</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">21</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>Set&nbsp;wApp&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;CreateObject(</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">Word.Application</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">[img]</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">/</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">images</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">/</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">wink.gif[</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">/</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">img]<BR></SPAN><SPAN style="COLOR: #008080">22</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>If&nbsp;Err.number&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">0</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;Then<BR></SPAN><SPAN style="COLOR: #008080">23</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>Alert&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">没法保存为Word文件,请正确安装Word97</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">24</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">else</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">25</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.visible&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;True&nbsp;<BR></SPAN><SPAN style="COLOR: #008080">26</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.Documents.add<BR></SPAN><SPAN style="COLOR: #008080">27</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">28</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.Selection.TypeParagraph<BR></SPAN><SPAN style="COLOR: #008080">29</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.Selection.Font.Bold&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;True<BR></SPAN><SPAN style="COLOR: #008080">30</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.Selection.TypeText&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">九八Joy&nbsp;ASP维护工作意见</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">31</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">32</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.Selection.ParagraphFormat.Alignment&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">1</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;<BR></SPAN><SPAN style="COLOR: #008080">33</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>rem&nbsp;居&nbsp;中<BR></SPAN><SPAN style="COLOR: #008080">34</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">35</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.Selection.TypeParagraph&nbsp;<BR></SPAN><SPAN style="COLOR: #008080">36</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.Selection.Font.Bold&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;</SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">false</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;<BR></SPAN><SPAN style="COLOR: #008080">37</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">38</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.Selection.TypeText&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">--&nbsp;飞鸟</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">39</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">40</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.Selection.TypeParagraph&nbsp;<BR></SPAN><SPAN style="COLOR: #008080">41</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">42</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.Selection.ParagraphFormat.LeftIndent&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;wApp.CentimetersToPoints(</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">0</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)<BR></SPAN><SPAN style="COLOR: #008080">43</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.Selection.ParagraphFormat.FirstLineIndent&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;wApp.CentimetersToPoints(</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">0.72</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">/</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">2</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">*</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">2</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)<BR></SPAN><SPAN style="COLOR: #008080">44</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">45</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.Selection.TypeParagraph<BR></SPAN><SPAN style="COLOR: #008080">46</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.Selection.Font.Bold&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;</SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">false</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">47</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.Selection.ParagraphFormat.Alignment&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">0</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">48</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">49</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">50</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.Selection.TypeText&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">认真落实CHINA&nbsp;ASP为网友解难题，办实事精神，强化运行管理，优化网络；坚持以网管为龙头，以提高接通率为重点，做好运维工作，保证全网运行安全、高效、畅通。认真落实局内六十项奋斗目标，围绕效益工程、形象工程、福利工程，开动脑筋、解放思想，以改革为动力，推动维护、服务、管理工作更上台阶。</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;<BR></SPAN><SPAN style="COLOR: #008080">51</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.Selection.TypeParagraph&nbsp;<BR></SPAN><SPAN style="COLOR: #008080">52</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">53</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>rem&nbsp;居&nbsp;右<BR></SPAN><SPAN style="COLOR: #008080">54</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.Selection.TypeParagraph&nbsp;<BR></SPAN><SPAN style="COLOR: #008080">55</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.Selection.Font.Bold&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;</SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">false</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;<BR></SPAN><SPAN style="COLOR: #008080">56</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.Selection.TypeText&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">一九九九年五月</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">57</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>wApp.Selection.TypeParagraph&nbsp;<BR></SPAN><SPAN style="COLOR: #008080">58</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">59</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top>end&nbsp;</SPAN><SPAN style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">if</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">60</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">61</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">center</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;&lt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">br</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;&lt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">strong</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">数据处理完毕</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">!&lt;/</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">strong</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;&lt;/</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">center</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">62</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">63</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">p</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">64</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;/</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">p</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;&lt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">div&nbsp;align</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">'center'</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;&lt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">center</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;&lt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">input&nbsp;type</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">button&nbsp;class</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">buttonface&nbsp;name</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">'cmdOK'&nbsp;onclick</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">window.returnValue=0;window.close();</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;value</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;确&nbsp;定&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&nbsp;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;&lt;/</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">center</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;&lt;/</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">div</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">65</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top><BR></SPAN><SPAN style="COLOR: #008080">66</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;/</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">BODY</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">67</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&lt;/</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">HTML</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">&gt;</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><BR></SPAN><SPAN style="COLOR: #008080">68</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/InBlock.gif" align=top></SPAN></DIV></SPAN></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><img src ="http://www.cnblogs.com/murky/aggbug/507275.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47984/" target="_blank">《商业周刊》:Mozilla的志愿者开发模式被复制</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>Asp.net中的两种刷新父窗体方法</title><link>http://www.cnblogs.com/murky/archive/2006/09/18/507269.html</link><dc:creator>柴火</dc:creator><author>柴火</author><pubDate>Mon, 18 Sep 2006 03:47:00 GMT</pubDate><guid>http://www.cnblogs.com/murky/archive/2006/09/18/507269.html</guid><wfw:comment>http://www.cnblogs.com/murky/comments/507269.html</wfw:comment><comments>http://www.cnblogs.com/murky/archive/2006/09/18/507269.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/murky/comments/commentRss/507269.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/murky/services/trackbacks/507269.html</trackback:ping><description><![CDATA[第一种：<BR>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">btn_export.Attributes.Add("onclick",</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">javascript:showModalDialog('listprintselect.aspx',parent,'dialogWidth:300px;dialogHeight:130px;center:yes;help:no;resizable:no;status:no');</SPAN><SPAN style="COLOR: #000000"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN></DIV><BR>调用window.dialogArguments.location.reload()<BR>如果有框架,则window.dialogArguments.FrameId.location.reload(),就可以了.<BR><BR><BR>第二种：<BR>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">btn_export.Attributes.Add&nbsp;(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">ondblclick</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">javascript:var&nbsp;sret;sret=showModalDialog('shippercontent.aspx?id=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">itemid</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&amp;rdid=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;Rdid&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">',parent,'dialogWidth:640px;dialogHeight:500px;center:yes;help:no;resizable:no;status:no');</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN></DIV><BR>如果返回值为“aa“,则刷新<BR>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">(sret</SPAN><SPAN style="COLOR: #000000">==</SPAN><SPAN style="COLOR: #000000">'</SPAN><SPAN style="COLOR: #000000">aa</SPAN><SPAN style="COLOR: #000000">'</SPAN><SPAN style="COLOR: #000000">)<BR><IMG id=Codehighlighter1_15_41_Open_Image onclick="this.style.display='none'; Codehighlighter1_15_41_Open_Text.style.display='none'; Codehighlighter1_15_41_Closed_Image.style.display='inline'; Codehighlighter1_15_41_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_15_41_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_15_41_Closed_Text.style.display='none'; Codehighlighter1_15_41_Open_Image.style.display='inline'; Codehighlighter1_15_41_Open_Text.style.display='inline';" src="http://www.cnblogs.com/images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_15_41_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_15_41_Open_Text><SPAN style="COLOR: #000000">{window.location.reload();}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN></DIV><BR>模式窗口里面调用<BR>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">Page.RegisterStartupScript(</SPAN><SPAN style="COLOR: #000000">""</SPAN><SPAN style="COLOR: #000000">,</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&lt;script&nbsp;language='javascript'&gt;window.returnValue='aa';window.close();</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN></DIV><BR>传递一个返回值“aa“给父窗体<BR><img src ="http://www.cnblogs.com/murky/aggbug/507269.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47984/" target="_blank">《商业周刊》:Mozilla的志愿者开发模式被复制</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item></channel></rss>