<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/zhang_yzy" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/zhang_yzy" type="application/rss+xml"></fs:self_link><lastBuildDate>Sat, 14 Jun 2008 12:12:00 GMT</lastBuildDate><title>流浪的专栏</title><item><title>CommandParm及CommandLine学习</title><link>http://blog.csdn.net/zhang_yzy/archive/2008/06/14/2546119.aspx</link><wfw:comment>comments/2546119.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>comments/commentRss/2546119.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2546119</trackback:ping><description>&lt;p&gt;&lt;font size=&quot;5&quot;&gt;今天有个想法：编写一个带命令行参数的程序，可以直接打开后缀名为EPR的的文件？&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size=&quot;5&quot;&gt;有了想法就开始做吧，以前没做过，上网查查，噢，原来都用的是CommandParm()或CommandLine&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size=&quot;5&quot;&gt;自己试验下，建立一个项目test,在Application.Open中加入下边一段语句：&lt;/font&gt;&lt;/p&gt;&lt;p&gt;string ls_command&lt;/p&gt;&lt;p&gt;ls_command = CommandParm()&lt;/p&gt;&lt;p&gt;if&amp;nbsp; isnull(ls_command) or (ls_command='') then&lt;/p&gt;&lt;p&gt;else&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; OpenWithParm(w_test,ls_command)&lt;/p&gt;&lt;p&gt;end if&lt;/p&gt;&lt;p&gt;&lt;font size=&quot;5&quot;&gt;Ok！开始测试，&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size=&quot;5&quot;&gt;(1)在开始-&amp;gt;运行中输入: test a.epr &lt;/&lt;img src =&quot;aggbug/2546119.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sat, 14 Jun 2008 20:12:00 +0800</pubDate><author>zhang_yzy</author><comments>http://blog.csdn.net/zhang_yzy/archive/2008/06/14/2546119.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zhang_yzy/archive/2008/06/14/2546119.aspx</guid><dc:creator>zhang_yzy</dc:creator></item></channel></rss>