Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Diff of /trunk/doc/jp/html/macro/command/exec.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3226 by maya, Tue Mar 24 09:37:20 2009 UTC revision 3227 by maya, Tue Mar 24 15:10:33 2009 UTC
# Line 1  Line 1 
1  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2    "http://www.w3.org/TR/html4/strict.dtd">    "http://www.w3.org/TR/html4/strict.dtd">
3  <html>  <html>
4  <head>  <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">    <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
6    <title>exec</title>    <title>exec</title>
7    <meta http-equiv="Content-Style-Type" content="text/css">    <meta http-equiv="Content-Style-Type" content="text/css">
8    <link rel="stylesheet" href="../../style.css" type="text/css">    <link rel="stylesheet" href="../../style.css" type="text/css">
9  </head>  </head>
10    
11  <body>  <body>
12    
13    
14  <h1>exec</h1>  <h1>exec</h1>
15    
16  <p>  <p>
17  アプリケーションを起動する。  アプリケーションを起動する。
18  </p>  </p>
19    
20  <pre class="macro-syntax">  <pre class="macro-syntax">
21  exec &lt;command line&gt; [&lt;show&gt;]  exec &lt;command line&gt; [&lt;show&gt;]
22  </pre>  </pre>
23    
24  <h2>解説</h2>  <h2>解説</h2>
25    
26  <p>  <p>
27  コマンドライン文字列 &lt;command line&gt; に従い、アプリケーションを起動する。  コマンドライン文字列 &lt;command line&gt; に従い、アプリケーションを起動する。
28  </p>  </p>
29    
30  showパラメータには以下の文字列を指定することができる。  showパラメータには以下の文字列を指定することができる。
31  <pre>  <pre>
32  hide  hide
33  minimize  minimize
34  maximize  maximize
35  show ;default parameters when no show command specified.  show ;default parameters when no show command specified.
36  </pre>  </pre>
37    
38  <h2>例</h2>  <h2>例</h2>
39    
40  <pre class="macro-example">  <pre class="macro-example">
41  ; 「メモ帳」を起動  ; 「メモ帳」を起動
42  exec 'notepad readme.txt'  exec 'notepad readme.txt'
43    
44  ; 「メモ帳」を最大化表示で起動  ; 「メモ帳」を最大化表示で起動
45  exec 'notepad readme.txt' 'maximize'  exec 'notepad readme.txt' 'maximize'
46  </pre>  </pre>
47    
48  <pre class="macro-example">  <pre class="macro-example">
49  ; バッチファイルを起動する  ; バッチファイルを起動する
50  tmp='cmd /c c:\upload.bat '  tmp='cmd /c c:\upload.bat '
51  strconcat tmp username1  strconcat tmp username1
52  strconcat tmp ' '  strconcat tmp ' '
53  strconcat tmp userpass1  strconcat tmp userpass1
54  strconcat tmp ' '  strconcat tmp ' '
55  strconcat tmp address  strconcat tmp address
56  messagebox tmp 'exec'  messagebox tmp 'exec'
57  exec tmp  exec tmp
58  </pre>  </pre>
59    
60  </body>  </body>
61  </html>  </html>

Legend:
Removed from v.3226  
changed lines
  Added in v.3227

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26