<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
		<id>https://zh-cn.arcowiki.com/index.php?action=history&amp;feed=atom&amp;title=%E4%BB%8EDmis%E8%B0%83%E7%94%A8%E5%A4%96%E9%83%A8%E5%8F%AF%E6%89%A7%E8%A1%8C%E6%96%87%E4%BB%B6</id>
		<title>从Dmis调用外部可执行文件 - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="https://zh-cn.arcowiki.com/index.php?action=history&amp;feed=atom&amp;title=%E4%BB%8EDmis%E8%B0%83%E7%94%A8%E5%A4%96%E9%83%A8%E5%8F%AF%E6%89%A7%E8%A1%8C%E6%96%87%E4%BB%B6"/>
		<link rel="alternate" type="text/html" href="https://zh-cn.arcowiki.com/index.php?title=%E4%BB%8EDmis%E8%B0%83%E7%94%A8%E5%A4%96%E9%83%A8%E5%8F%AF%E6%89%A7%E8%A1%8C%E6%96%87%E4%BB%B6&amp;action=history"/>
		<updated>2026-05-25T07:15:28Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>https://zh-cn.arcowiki.com/index.php?title=%E4%BB%8EDmis%E8%B0%83%E7%94%A8%E5%A4%96%E9%83%A8%E5%8F%AF%E6%89%A7%E8%A1%8C%E6%96%87%E4%BB%B6&amp;diff=41&amp;oldid=prev</id>
		<title>Slia：创建页面，内容为“In order to '''Call An External Executable from Dmis''' the command to be executed is &lt;code&gt;CALL/EXTERN,SYS&lt;/code&gt;.&lt;br/&gt; The .EXE can be run with or without…”</title>
		<link rel="alternate" type="text/html" href="https://zh-cn.arcowiki.com/index.php?title=%E4%BB%8EDmis%E8%B0%83%E7%94%A8%E5%A4%96%E9%83%A8%E5%8F%AF%E6%89%A7%E8%A1%8C%E6%96%87%E4%BB%B6&amp;diff=41&amp;oldid=prev"/>
				<updated>2018-06-04T12:43:41Z</updated>
		
		<summary type="html">&lt;p&gt;创建页面，内容为“In order to &amp;#039;&amp;#039;&amp;#039;Call An External Executable from &lt;a href=&quot;/index.php/DMIS&quot; title=&quot;DMIS&quot;&gt;Dmis&lt;/a&gt;&amp;#039;&amp;#039;&amp;#039; the command to be executed is &amp;lt;code&amp;gt;CALL/EXTERN,SYS&amp;lt;/code&amp;gt;.&amp;lt;br/&amp;gt; The .EXE can be run with or without…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In order to '''Call An External Executable from [[DMIS|Dmis]]''' the command to be executed is &amp;lt;code&amp;gt;CALL/EXTERN,SYS&amp;lt;/code&amp;gt;.&amp;lt;br/&amp;gt;&lt;br /&gt;
The .EXE can be run with or without extra arguments.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==External Program without argument==&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text-decoration: none;&amp;quot;&amp;gt;$$ This example open notepad, and suspends ARCO execution while Notepad is open&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;CALL/EXTERN, SYS, 'notepad.exe', WAIT'&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==External Program with one argument only==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text-decoration: none;&amp;quot;&amp;gt;$$ This example open the c:\TEST.TXT file with notepad, and suspends ARCO execution while notepad is open&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;CALL/EXTERN, SYS, 'notepad.exe', WAIT, 'C:\TEST.TXT'&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==External Program with more arguments==&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text-decoration: none;&amp;quot;&amp;gt;$$ This example presents a .exe file with more argument, and runs independently from ARCO&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;CALL/EXTERN,SYS, 'exename.exe', CONT, 'arg1', 'arg2'&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters==&lt;br /&gt;
The &amp;lt;code&amp;gt;WAIT&amp;lt;/code&amp;gt; parameter '''SUSPENDS''' during the external program execution. &amp;lt;br/&amp;gt;&lt;br /&gt;
With &amp;lt;code&amp;gt;WAIT&amp;lt;/code&amp;gt; parameter the External Program SUSPENDS ARCO until the execution is over&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;CONT&amp;lt;/code&amp;gt; parameter '''DOESN'T''' SUSPENDS during the external program execution. &amp;lt;br/&amp;gt;&lt;br /&gt;
With &amp;lt;code&amp;gt;CONT&amp;lt;/code&amp;gt;  parameter the External Program runs independently.&lt;br /&gt;
&lt;br /&gt;
==Use of Blanks in File Name==&lt;br /&gt;
If blanks are present in the file path, it is necessary to enclose the entire path between inverted commas.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text-decoration: none;&amp;quot;&amp;gt;$$Example of white characters in the path&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;CALL/EXTERN, SYS, '&amp;quot; D:\Visual Studio 2010\exename.exe&amp;quot;', WAIT, '&amp;quot; D:\Visual Studio 2010\arg1.txt&amp;quot;', '&amp;quot; D:\Visual Studio 2010\arg2.txt&amp;quot;'&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[it:Chiama un eseguibile esterno da Dmis]]&lt;br /&gt;
[[zh-cn:从Dmis调用外部可执行文件]]&lt;br /&gt;
[[pt:Chamar um executável externo do Dmis]]&lt;br /&gt;
[[de:Rufen Sie eine externe ausführbare Datei von Dmis auf]]&lt;br /&gt;
[[es:Llamar a un ejecutable externo desde Dmis]]&lt;br /&gt;
[[en:Call An External Executable from Dmis]]&lt;/div&gt;</summary>
		<author><name>Slia</name></author>	</entry>

	</feed>