Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

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

Parent Directory Parent Directory | Revision Log Revision Log


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

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