svnno****@sourc*****
svnno****@sourc*****
2011年 7月 28日 (木) 21:57:37 JST
Revision: 4547 http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4547 Author: yutakapon Date: 2011-07-28 21:57:36 +0900 (Thu, 28 Jul 2011) Log Message: ----------- è±è¨³ã追å ã å°ãæè¨ãä¿®æ£ããããåããããã表ç¾ã«ããã Modified Paths: -------------- trunk/doc/en/html/macro/command/expandenv.html trunk/doc/ja/html/macro/command/expandenv.html -------------- next part -------------- Modified: trunk/doc/en/html/macro/command/expandenv.html =================================================================== --- trunk/doc/en/html/macro/command/expandenv.html 2011-07-28 08:58:28 UTC (rev 4546) +++ trunk/doc/en/html/macro/command/expandenv.html 2011-07-28 12:57:36 UTC (rev 4547) @@ -14,7 +14,7 @@ <h1>expandenv</h1> <p> -Expands environment variables. +Expands environment-variable strings. </p> <h2>Format</h2> @@ -27,11 +27,11 @@ <dl> <dt class="macro">string valiable <strvar></dt> - <!--dd>æ2øðn³È¢êÍA±ÌøÅwèµ½¶ñªWJ³êéB<br /> - æ2øðnµ½êÍA±Ìøͳ³êéB</dd--> + <dd>The specified string is expanded.<br /> + When the second argument(<strval>) is given, the result expanding the argument stores into the string valiable <strvar>.</dd> <dt class="macro">string <strval> (optional)</dt> - <!--dd>±Ìøðwèµ½êA±ÌøÅwèµ½¶ñªWJ³êéB</dd--> + <dd>When this argument is given, the result expanding the argument stores into the string valiable <strvar>.</dd> </dl> @@ -39,28 +39,33 @@ <dl> <dt class="macro">System valiable <result></dt> - <!--dd>WJã̶ñªi[³êéB</dd--> + <dd>The expanded string stores.</dd> </dl> <h2>Remarks</h2> <p> -<!-- n³ê½¶ñÉÜÜêé«ÏðWJ·éB --> +The expandenv command expands one or more environment-variable strings(%variableName%) and replaces them with the values for the current user. </p> <h2>Example</h2> <pre class="macro-example"> -str = "%WINDIR%\notepad.exe" +str = "%WINDIR%\notepad.exe" expandenv str -messagebox str "env" +messagebox str "env" ; C:\WINDOWS\notepad.exe </pre> <pre class="macro-example"> -expandenv str "%WINDIR%\notepad.exe" -messagebox str "env" +expandenv str "%WINDIR%\notepad.exe" +messagebox str "env" ; C:\WINDOWS\notepad.exe </pre> +<pre class="macro-example"> +expandenv str "%test%\notepad.exe" +messagebox str "env" ; %test%\notepad.exe +</pre> + </body> </html> Modified: trunk/doc/ja/html/macro/command/expandenv.html =================================================================== --- trunk/doc/ja/html/macro/command/expandenv.html 2011-07-28 08:58:28 UTC (rev 4546) +++ trunk/doc/ja/html/macro/command/expandenv.html 2011-07-28 12:57:36 UTC (rev 4547) @@ -14,7 +14,7 @@ <h1>expandenv</h1> <p> -«ÏðWJ·éB +«϶ñðWJ·éB </p> <h2>`®</h2> @@ -27,11 +27,11 @@ <dl> <dt class="macro">¶ñÏ <strvar></dt> - <dd>æ2øðn³È¢êÍA±ÌøÅwèµ½¶ñªWJ³êéB<br /> - æ2øðnµ½êÍA±Ìøͳ³êéB</dd> + <dd>±ÌøÅwèµ½¶ñªWJ³êéB<br /> + æ2ø(<strval>)ðnµ½êÍAWJʪY¶ñÏÉãü³êéB</dd> <dt class="macro">¶ñ <strval> (IvV)</dt> - <dd>±Ìøðwèµ½êA±ÌøÅwèµ½¶ñªWJ³êéB</dd> + <dd>±Ìøðwèµ½êAwèµ½¶ñªWJ³êA¶ñÏ <strvar>Éãü³êéB</dd> </dl> @@ -46,21 +46,26 @@ <h2>ðà</h2> <p> -n³ê½¶ñÉÜÜêé«ÏðWJ·éB +1ÂÈãÌ«϶ñ(%variableName%)ðWJµAY¶ñðJg[UÌè`³ê½lÉu«·¦éB </p> <h2>á</h2> <pre class="macro-example"> -str = "%WINDIR%\notepad.exe" +str = "%WINDIR%\notepad.exe" expandenv str -messagebox str "env" +messagebox str "env" ; C:\WINDOWS\notepad.exe </pre> <pre class="macro-example"> -expandenv str "%WINDIR%\notepad.exe" -messagebox str "env" +expandenv str "%WINDIR%\notepad.exe" +messagebox str "env" ; C:\WINDOWS\notepad.exe </pre> +<pre class="macro-example"> +expandenv str "%test%\notepad.exe" +messagebox str "env" ; %test%\notepad.exe +</pre> + </body> </html>