OSDN Git Service

Version 4.00
[vbslib/main.git] / _src / _vbslib manual.files / vbs_memo.files / vbs_memo_02.html
1 <?xml version="1.0" encoding="Shift_JIS"?>\r
2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"\r
3  "http://www.w3.org/TR/html4/strict.dtd">\r
4 <!-- saved from url=(0014)about:internet --> <!-- for too much local security warning -->\r
5 <HTML lang="ja" xmlns:v="urn:schemas-microsoft-com:vml"> \r
6 <HEAD>\r
7 \r
8 <META http-equiv="Content-Type" content="text/html; charset=shift_jis"/>\r
9 <TITLE>VBS\83\81\83\82</TITLE>\r
10 \r
11 <STYLE type="text/css">\r
12 v\:line, v\:rect, v\:fill, v\:image, v\:stroke, v\:roundrect, v\:oval, v\:shape, v\:path, v\:textpath\r
13   { behavior: url(#default#VML); }\r
14 A { text-decoration:none; }\r
15 A.to_tree { color:#CCDDCC; position:absolute; margin-left:0px; font-size:8pt; }\r
16 A.to_next_page { position:absolute; margin-left:40px; font-size:8pt; }\r
17 A.to_prev_page { position:absolute; margin-left:58px; font-size:8pt; }\r
18 A:visited { color:blue }\r
19 <!-- start of insert [PATCH_OF:urlrep_tooltip] -->\r
20 DIV.tooltip { color:blue; }\r
21 DIV.tooltip textarea { display:none; margin-top:-5px; overflow:hidden; }\r
22 <!-- end of [PATCH_OF:urlrep_tooltip] -->\r
23 </STYLE>\r
24 \r
25 <SCRIPT type="text/javascript">\r
26 //<![CDATA[\r
27 \r
28 function  onLoad()\r
29 {\r
30   var  divs, i\r
31 \r
32   if ( !document.getElementsByTagName )  return;\r
33 \r
34   divs = document.getElementsByTagName( "A" );\r
35   for ( i = 0; i < divs.length; i++ ) {\r
36     if ( divs[i].className == "to_tree" ) {\r
37       divs[i].style.color = "blue";\r
38       divs[i].style.cursor = "hand";\r
39     }\r
40   }\r
41 }\r
42 \r
43 function  selectTreeElem( num )\r
44 {\r
45   var tree_url, i1, i2, fname, fname2\r
46 \r
47   if ( parent.frames.length == 0 ) {\r
48     location.href = "../vbs_memo.html?f1=vbs_memo.files/vbs_memo_tree.html&sub1=svgcats_index_p" + num +\r
49      "&f2=vbs_memo.files/vbs_memo_02.html&sub2=svgcats_vml_p" + num;\r
50   }\r
51   else {\r
52     tree_url = parent.tree.location.href;\r
53     i1 = tree_url.lastIndexOf( "/" );\r
54     i2 = tree_url.lastIndexOf( "\\" );\r
55     if ( i2 > i1 )  i1 = i2;\r
56     fname = tree_url.substring( i1 + 1 );\r
57     i1 = fname.lastIndexOf( "#" );\r
58     if ( i1 >= 0 )  fname = fname.substring( 0, i1 );\r
59     fname2 = "vbs_memo.files/vbs_memo_tree.html";\r
60     i1 = fname2.lastIndexOf( "/" );\r
61     i2 = fname2.lastIndexOf( "\\" );\r
62     if ( i2 > i1 )  i1 = i2;\r
63     fname2 = fname2.substring( i1 + 1 );\r
64     if ( fname == fname2 )\r
65       parent.tree.selectTreeElem( "svgcats_index_p" + num );\r
66     else\r
67       location.href = "../vbs_memo.html?f1=vbs_memo.files/vbs_memo_tree.html&sub1=svgcats_index_p" + num +\r
68        "&f2=vbs_memo.files/vbs_memo_02.html&sub2=svgcats_vml_p" + num;\r
69   }\r
70 }\r
71 \r
72 <!-- start of insert [PATCH_OF:urlrep_tooltip] -->\r
73 function  over( text, value, cols ){ text.style.display = "inline";\r
74   text.cols=cols; text.rows=1; text.value=value; text.focus(); text.select(); }\r
75 function  out( text ){ text.style.display = "none"; }\r
76 <!-- end of [PATCH_OF:urlrep_tooltip] -->\r
77 \r
78 //]]>\r
79 </SCRIPT>\r
80 \r
81 </HEAD>\r
82 <BODY bgcolor="#CCDDCC" onLoad="onLoad();">\r
83 \r
84 <DIV style="position:absolute; margin-left:0px; margin-top:8px; color:red; font-size:8pt;">\r
85 (for Internet Explorer)</DIV>\r
86 <v:rect style="position:absolute; margin-left:0px; margin-top:8px; width:130px; height:16px;" fillcolor="white" strokecolor="white"/>\r
87 \r
88 <PAGESET>\r
89  \r
90 <!-- page 17 --> \r
91 <PAGE>\r
92 <A id="svgcats_vml_p17" class="to_tree" style="margin-top:-11px;" onClick="selectTreeElem( '17' );">\81©</A>\r
93 <A href="#svgcats_vml_p18" class="to_next_page" style="margin-top:-11px;">\81¥</A>\r
94 <A href="vbs_memo_01.html#svgcats_vml_p16" class="to_prev_page" style="margin-top:-11px;">\81£</A>\r
95 <DIV style="position:absolute; margin-left:20px; margin-top:-16px;">\r
96 <A id="page_group_top" href="vbs_memo_01.html#page_group_bottom" style="text-decoration:none;">\81ª</A></DIV>\r
97 <v:rect style="position:absolute; margin-left:0px; margin-top:0px; width:537px; height:531px;" fillcolor="white"/>\r
98 <DIV id="text17_1" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:24px; margin-top:17px; line-height:15px; white-space:nowrap">\r
99 <A name="WScript_Shell_Run">\r
100 Run (Shell)</A></DIV>\r
101 <DIV id="text17_2" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:183px; margin-top:17px; line-height:15px; white-space:nowrap">\r
102 <A href="http://msdn.microsoft.com/library/ja/script56/html/wsMthRun.asp" target="_blank">\r
103 (Web)</A></DIV>\r
104 <v:rect style="position:absolute; margin-left:24px; margin-top:49px; width:436px; height:40px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
105 <DIV id="text17_3" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:32px; margin-top:55px; line-height:15px; white-space:nowrap">\r
106 Function&nbsp; Shell::Run( PathAndParam as string,<BR/>\r
107 &nbsp; &nbsp;[ WindowStyle as integer], [ WaitOnReturn as boolean ] ) as integer</DIV>\r
108 <DIV id="text17_4" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:32px; margin-top:100px; line-height:15px; white-space:nowrap">\r
109 PathAndParam \82É\8ew\92è\82µ\82½\83R\83}\83\93\83h\83\89\83C\83\93\82É\8f]\82Á\82Ä\81A\83v\83\8d\83Z\83X\82ð\8bN\93®\82µ\82Ü\82·\81B</DIV>\r
110 <DIV id="text17_5" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:32px; margin-top:126px; line-height:15px; white-space:nowrap">\r
111 \81y\88ø\90\94\81z</DIV>\r
112 <DIV id="text17_6" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:103px; margin-top:126px; line-height:15px; white-space:nowrap">\r
113 PathAndParam</DIV>\r
114 <DIV id="text17_7" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:212px; margin-top:126px; line-height:15px; white-space:nowrap">\r
115 \8bN\93®\82·\82é\8eÀ\8ds\83t\83@\83C\83\8b\82Ì\83p\83X\82Æ\81A\83p\83\89\83\81\81[\83^</DIV>\r
116 <DIV id="text17_8" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:103px; margin-top:143px; line-height:15px; white-space:nowrap">\r
117 WindowStyle</DIV>\r
118 <DIV id="text17_9" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:212px; margin-top:143px; line-height:15px; white-space:nowrap">\r
119 \83E\83B\83\93\83h\83E\83X\83^\83C\83\8b\81B\83f\83t\83H\83\8b\83g\81\811\81A\8dÅ\8f¬\89»=7</DIV>\r
120 <DIV id="text17_10" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:103px; margin-top:160px; line-height:15px; white-space:nowrap">\r
121 WaitOnReturn</DIV>\r
122 <DIV id="text17_11" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:212px; margin-top:160px; line-height:15px; white-space:nowrap">\r
123 \8fI\97¹\82·\82é\82Ü\82Å\91Ò\82Â\82©\82Ç\82¤\82©\81B\83f\83t\83H\83\8b\83g\81\81False</DIV>\r
124 <DIV id="text17_12" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:103px; margin-top:177px; line-height:15px; white-space:nowrap">\r
125 \95Ô\82è\92l</DIV>\r
126 <DIV id="text17_13" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:212px; margin-top:177px; line-height:15px; white-space:nowrap">\r
127 \83G\83\89\81[\83\8c\83x\83\8b\81\91Ò\82½\82È\82¢\82Æ\82«\82Í\8fí\82É 0</DIV>\r
128 <DIV id="text17_14" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:41px; margin-top:483px; line-height:15px; white-space:nowrap">\r
129 <A href="vbs_memo_03.html#start_exe">\r
130 \81¨ \83\81\83\82\92 \82ð\8bN\93®\82·\82é\81i.exe \83v\83\8d\83O\83\89\83\80\82Ì\8bN\93®\81j</A></DIV>\r
131 <DIV id="text17_15" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:8pt; color:#0000FF; margin-left:220px; margin-top:19px; line-height:12px; white-space:nowrap">\r
132 <A href="vbs_memo_01.html#WScript_Shell">\r
133\90e: WScript.Shell \83I\83u\83W\83F\83N\83g ]</A></DIV>\r
134 <v:rect style="position:absolute; margin-left:33px; margin-top:239px; width:472px; height:130px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
135 <DIV id="text17_16" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:41px; margin-top:245px; line-height:15px; white-space:nowrap">\r
136 Option Explicit <BR/>\r
137 Dim g_sh : Set&nbsp; g_sh = WScript.CreateObject("WScript.Shell")<BR/>\r
138 Dim g_fs : Set&nbsp; g_fs = CreateObject( "Scripting.FileSystemObject" )<BR/>\r
139 <BR/>\r
140 &nbsp; Dim r<BR/>\r
141 &nbsp; g_sh.CurrentDirectory = g_fs.GetParentFolderName( WScript.ScriptFullName )<BR/>\r
142 &nbsp; r = g_sh.Run( "cmd.exe /c (dir p)",,True )<BR/>\r
143 &nbsp; If r&lt;&gt;0 Then&nbsp; Err.Raise&nbsp; 1, "cmd.exe", "error 0x" &amp; Hex(r)</DIV>\r
144 <DIV id="text17_17" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#FF0000; margin-left:143px; margin-top:336px; line-height:13px; white-space:nowrap">\r
145 cmd.exe /c (dir p)</DIV>\r
146 <DIV id="text17_18" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#FF0000; margin-left:227px; margin-top:351px; line-height:13px; white-space:nowrap">\r
147 cmd.exe</DIV>\r
148 <DIV id="text17_19" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:31px; margin-top:218px; line-height:15px; white-space:nowrap">\r
149 \83T\83\93\83v\83\8b\81\8fI\97¹\82Ü\82Å\91Ò\82¿\81A\83G\83\89\81[\83\8c\83x\83\8b\82ð\83`\83F\83b\83N\82·\82é</DIV>\r
150 <v:rect style="position:absolute; margin-left:33px; margin-top:410px; width:412px; height:25px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
151 <DIV id="text17_20" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:41px; margin-top:417px; line-height:13px; white-space:nowrap">\r
152 WScript.CreateObject("WScript.Shell").Run&nbsp; """sample.xls""",,False</DIV>\r
153 <DIV id="text17_21" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:31px; margin-top:390px; line-height:15px; white-space:nowrap">\r
154 \83T\83\93\83v\83\8b\81\83G\83N\83Z\83\8b\83t\83@\83C\83\8b "sample.xls" \82ð\8aJ\82­</DIV>\r
155 \r
156 <v:line from="0,0" to="537,0"/>\r
157 <v:line from="537,0" to="537,531"/>\r
158 <v:line from="537,531" to="0,531"/>\r
159 <v:line from="0,531" to="0,0"/>\r
160 \r
161 </PAGE>\r
162  \r
163 <!-- page 18 --> \r
164 <PAGE>\r
165 <A id="svgcats_vml_p18" class="to_tree" style="margin-top:536px;" onClick="selectTreeElem( '18' );">\81©</A>\r
166 <A href="#svgcats_vml_p19" class="to_next_page" style="margin-top:536px;">\81¥</A>\r
167 <A href="#svgcats_vml_p17" class="to_prev_page" style="margin-top:536px;">\81£</A>\r
168 <v:rect style="position:absolute; margin-left:0px; margin-top:547px; width:553px; height:430px;" fillcolor="white"/>\r
169 <DIV id="text18_1" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:24px; margin-top:564px; line-height:15px; white-space:nowrap">\r
170 <A name="WScript_Shell_Exec">\r
171 Exec (Shell)</A></DIV>\r
172 <DIV id="text18_2" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:180px; margin-top:564px; line-height:15px; white-space:nowrap">\r
173 <A href="http://msdn.microsoft.com/library/ja/script56/html/wslrfExecMethod.asp" target="_blank">\r
174 (Web)</A></DIV>\r
175 <v:rect style="position:absolute; margin-left:25px; margin-top:602px; width:400px; height:25px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
176 <DIV id="text18_3" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:33px; margin-top:609px; line-height:13px; white-space:nowrap">\r
177 Function&nbsp; Shell::Exec( PathAndParam as string ) as WshScriptExec</DIV>\r
178 <DIV id="text18_4" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:33px; margin-top:644px; line-height:15px; white-space:nowrap">\r
179 \83R\83}\83\93\83h\83v\83\8d\83\93\83v\83g\81E\83v\83\8d\83O\83\89\83\80\82ð\8bN\93®\82µ\82Ü\82·\81B</DIV>\r
180 <DIV id="text18_5" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:33px; margin-top:670px; line-height:15px; white-space:nowrap">\r
181 \81y\88ø\90\94\81z</DIV>\r
182 <DIV id="text18_6" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:104px; margin-top:670px; line-height:15px; white-space:nowrap">\r
183 PathAndParam</DIV>\r
184 <DIV id="text18_7" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:213px; margin-top:670px; line-height:15px; white-space:nowrap">\r
185 \8bN\93®\82·\82é\8eÀ\8ds\83t\83@\83C\83\8b\82Ì\83p\83X\82Æ\81A\83p\83\89\83\81\81[\83^</DIV>\r
186 <DIV id="text18_8" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:104px; margin-top:687px; line-height:15px; white-space:nowrap">\r
187 \95Ô\82è\92l</DIV>\r
188 <DIV id="text18_9" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:213px; margin-top:687px; line-height:15px; white-space:nowrap">\r
189 &nbsp;WshScriptExec \83I\83u\83W\83F\83N\83g</DIV>\r
190 <DIV id="text18_10" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:33px; margin-top:723px; line-height:15px; white-space:nowrap">\r
191 \8fo\97Í\82Í\8fí\82É\83\8a\83_\83C\83\8c\83N\83g\82³\82ê\82Ü\82·\81B<BR/>\r
192 \83v\83\8d\83O\83\89\83\80\82ª\8fI\97¹\82·\82é\82Ü\82Å\91Ò\82¿\82Ü\82¹\82ñ\81B</DIV>\r
193 <DIV id="text18_11" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:33px; margin-top:760px; line-height:15px; white-space:nowrap">\r
194 <A href="vbs_memo_03.html#stdinout">\r
195 \81¨ \95W\8f\80\93ü\8fo\97Í\81A\83\8a\83_\83C\83\8c\83N\83g\81A\83G\83\89\81[\83\8c\83x\83\8b</A></DIV>\r
196 <DIV id="text18_12" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:8pt; color:#0000FF; margin-left:220px; margin-top:566px; line-height:12px; white-space:nowrap">\r
197 <A href="vbs_memo_01.html#WScript_Shell">\r
198\90e: WScript.Shell \83I\83u\83W\83F\83N\83g ]</A></DIV>\r
199 <DIV id="text18_13" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#0000FF; margin-left:339px; margin-top:609px; line-height:13px; white-space:nowrap">\r
200 <A href="#WshScriptExec">\r
201 WshScriptExec</A></DIV>\r
202 <DIV id="text18_14" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#FF0000; font-weight: bold; margin-left:33px; margin-top:799px; line-height:15px; white-space:nowrap">\r
203 \83R\83}\83\93\83h\83v\83\8d\83\93\83v\83g\82©\82ç\95W\8f\80\93ü\97Í\82·\82é\83v\83\8d\83O\83\89\83\80\82ð\8ew\92è\82·\82é\82Æ\81A\92â\8e~\82µ\82Ü\82·\81B</DIV>\r
204 <DIV id="text18_15" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:41px; margin-top:826px; line-height:15px; white-space:nowrap">\r
205 \8e\9f\82Ì\82æ\82¤\82É\91Î\89\9e\82µ\82Ä\82­\82¾\82³\82¢\81B<BR/>\r
206 \81E<BR/>\r
207 \81EExec \82ð\8cÄ\82Ñ\8fo\82·\83X\83N\83\8a\83v\83g\82ð\8bN\93®\82·\82é\82Æ\82«\81A\83t\83@\83C\83\8b\82©\82ç\95W\8f\80\93ü\97Í\82Ö\83\8a\83_\83C\83\8c\83N\83g\82·\82é<BR/>\r
208 \81E\8bN\93®\82·\82é\83v\83\8d\83O\83\89\83\80\82ª\95W\8f\80\93ü\97Í\82ð\82µ\82È\82¢\82æ\82¤\82É\82·\82é\83I\83v\83V\83\87\83\93\82ð\8ew\92è\82·\82é\81B<BR/>\r
209 \81@vbslib \82ð\8eg\82Á\82½\83X\83N\83\8a\83v\83g\82Å\82Í\81A/GUI_input:1 \83I\83v\83V\83\87\83\93\82ð\8ew\92è\82µ\82Ä\82­\82¾\82³\82¢\81B<BR/>\r
210 \81E\95Ô\82è\92l\82Ì .StdIn \82Ö\81AWScript.StdIn \88È\8aO\82©\82ç\91\97\82é\81B</DIV>\r
211 <DIV id="text18_16" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:83px; margin-top:929px; line-height:15px; white-space:nowrap">\r
212 <A href="vbs_memo_05.html#TextStream_exec">\r
213 \81¨ Shell::Exec \82Å\8eÀ\8ds\82·\82é\82Æ\81Apause \82ª\82Å\82«\82È\82¢ (TextStream)</A></DIV>\r
214 <DIV id="text18_17" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:41px; margin-top:929px; line-height:15px; white-space:nowrap">\r
215 \8eQ\8dl</DIV>\r
216 <DIV id="text18_18" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:108px; margin-top:841px; line-height:15px; white-space:nowrap">\r
217 \82ð\8eg\82¤\81i\82½\82¾\82µ\81A\90V\82µ\82¢\83E\83B\83\93\83h\83E\82ª\8aJ\82«\82Ü\82·\81j</DIV>\r
218 <DIV id="text18_19" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:50px; margin-top:841px; line-height:15px; white-space:nowrap">\r
219 <A href="#WScript_Shell_Run">\r
220 Shell::Run</A></DIV>\r
221 \r
222 <v:line from="0,547" to="553,547"/>\r
223 <v:line from="553,547" to="553,977"/>\r
224 <v:line from="553,977" to="0,977"/>\r
225 <v:line from="0,977" to="0,547"/>\r
226 \r
227 </PAGE>\r
228  \r
229 <!-- page 19 --> \r
230 <PAGE>\r
231 <A id="svgcats_vml_p19" class="to_tree" style="margin-top:982px;" onClick="selectTreeElem( '19' );">\81©</A>\r
232 <A href="#svgcats_vml_p20" class="to_next_page" style="margin-top:982px;">\81¥</A>\r
233 <A href="#svgcats_vml_p18" class="to_prev_page" style="margin-top:982px;">\81£</A>\r
234 <v:rect style="position:absolute; margin-left:0px; margin-top:993px; width:484px; height:349px;" fillcolor="white"/>\r
235 <DIV id="text19_1" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:24px; margin-top:1010px; line-height:15px; white-space:nowrap">\r
236 <A name="Shell_RegRead">\r
237 RegRead (Shell)</A></DIV>\r
238 <DIV id="text19_2" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:8pt; color:#0000FF; margin-left:220px; margin-top:1012px; line-height:12px; white-space:nowrap">\r
239 <A href="vbs_memo_01.html#WScript_Shell">\r
240\90e: WScript.Shell \83I\83u\83W\83F\83N\83g ]</A></DIV>\r
241 <v:rect style="position:absolute; margin-left:25px; margin-top:1048px; width:328px; height:25px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
242 <DIV id="text19_3" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:33px; margin-top:1055px; line-height:13px; white-space:nowrap">\r
243 Function&nbsp; Shell::RegRead( Path as string ) as string</DIV>\r
244 <DIV id="text19_4" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:33px; margin-top:1088px; line-height:15px; white-space:nowrap">\r
245 \83\8c\83W\83X\83g\83\8a\82Ì\92l\82ð\8eæ\93¾\82µ\82Ü\82·\81B</DIV>\r
246 <DIV id="text19_5" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:33px; margin-top:1116px; line-height:15px; white-space:nowrap">\r
247 \81y\88ø\90\94\81z</DIV>\r
248 <DIV id="text19_6" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:104px; margin-top:1116px; line-height:15px; white-space:nowrap">\r
249 Path</DIV>\r
250 <DIV id="text19_7" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:175px; margin-top:1116px; line-height:15px; white-space:nowrap">\r
251 \83\8c\83W\83X\83g\83\8a\82Ì\83p\83X</DIV>\r
252 <DIV id="text19_8" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:104px; margin-top:1133px; line-height:15px; white-space:nowrap">\r
253 \95Ô\82è\92l</DIV>\r
254 <DIV id="text19_9" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:175px; margin-top:1133px; line-height:15px; white-space:nowrap">\r
255 \92l</DIV>\r
256 <DIV id="text19_10" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:33px; margin-top:1193px; line-height:15px; white-space:nowrap">\r
257 path \82É\8ew\92è\82µ\82½\83p\83X\82ª\91\8dÝ\82µ\82È\82¢\82Æ\82«\82Í\81A\83G\83\89\81[ 0x80070002 \82É\82È\82è\82Ü\82·\81B</DIV>\r
258 <v:rect style="position:absolute; margin-left:32px; margin-top:1220px; width:220px; height:25px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
259 <DIV id="text19_11" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:40px; margin-top:1227px; line-height:13px; white-space:nowrap">\r
260 Const&nbsp; E_PathNotFound = &amp;h80070002</DIV>\r
261 <DIV id="text19_12" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:174px; margin-top:1011px; line-height:15px; white-space:nowrap">\r
262 <A href="http://msdn.microsoft.com/ja-jp/library/cc364416.aspx" target="_blank">\r
263 (Web)</A></DIV>\r
264 <DIV id="text19_13" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:33px; margin-top:1267px; line-height:15px; white-space:nowrap">\r
265 <A href="vbs_memo_13.html#reg_sample">\r
266 \81¨ \83T\83\93\83v\83\8b</A></DIV>\r
267 <DIV id="text19_14" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:33px; margin-top:1167px; line-height:15px; white-space:nowrap">\r
268 Path \82Ì\96\96\94ö\82ª \ \82Ì\82Æ\82«\82Í\81A\83L\81[\82Ì(\95W\8f\80)\82Ì\92l\82ð\90Ý\92è\82µ\82Ü\82·\81B</DIV>\r
269 <DIV id="text19_15" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:77px; margin-top:1294px; line-height:15px; white-space:nowrap">\r
270 <A href="..\vbslib.files\vbslib_27.html#RegRead">\r
271 \81¨ RegRead (vbslib)</A></DIV>\r
272 <DIV id="text19_16" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#408080; font-weight: bold; margin-left:32px; margin-top:1294px; line-height:15px; white-space:nowrap">\r
273 \8aÖ\98A</DIV>\r
274 \r
275 <v:line from="0,993" to="484,993"/>\r
276 <v:line from="484,993" to="484,1342"/>\r
277 <v:line from="484,1342" to="0,1342"/>\r
278 <v:line from="0,1342" to="0,993"/>\r
279 \r
280 </PAGE>\r
281  \r
282 <!-- page 20 --> \r
283 <PAGE>\r
284 <A id="svgcats_vml_p20" class="to_tree" style="margin-top:1347px;" onClick="selectTreeElem( '20' );">\81©</A>\r
285 <A href="#svgcats_vml_p21" class="to_next_page" style="margin-top:1347px;">\81¥</A>\r
286 <A href="#svgcats_vml_p19" class="to_prev_page" style="margin-top:1347px;">\81£</A>\r
287 <v:rect style="position:absolute; margin-left:0px; margin-top:1358px; width:607px; height:584px;" fillcolor="white"/>\r
288 <DIV id="text20_1" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:24px; margin-top:1375px; line-height:15px; white-space:nowrap">\r
289 <A name="Shell_RegWrite">\r
290 RegWrite (Shell)</A></DIV>\r
291 <DIV id="text20_2" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:161px; margin-top:1375px; line-height:15px; white-space:nowrap">\r
292 <A href="http://msdn.microsoft.com/ja-jp/library/cc364417.aspx" target="_blank">\r
293 (Web)</A></DIV>\r
294 <v:rect style="position:absolute; margin-left:25px; margin-top:1413px; width:550px; height:25px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
295 <DIV id="text20_3" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:33px; margin-top:1420px; line-height:13px; white-space:nowrap">\r
296 Function&nbsp; Shell::RegWrite( Path as string, Value as variant [,Type as string] ) as string</DIV>\r
297 <DIV id="text20_4" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:33px; margin-top:1453px; line-height:15px; white-space:nowrap">\r
298 \83\8c\83W\83X\83g\83\8a\82É\92l\82ð\90Ý\92è\82µ\82Ü\82·\81B</DIV>\r
299 <DIV id="text20_5" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:33px; margin-top:1481px; line-height:15px; white-space:nowrap">\r
300 \81y\88ø\90\94\81z</DIV>\r
301 <DIV id="text20_6" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:104px; margin-top:1481px; line-height:15px; white-space:nowrap">\r
302 path</DIV>\r
303 <DIV id="text20_7" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:175px; margin-top:1481px; line-height:15px; white-space:nowrap">\r
304 \83\8c\83W\83X\83g\83\8a\82Ì\83p\83X</DIV>\r
305 <DIV id="text20_8" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:104px; margin-top:1498px; line-height:15px; white-space:nowrap">\r
306 \95Ô\82è\92l</DIV>\r
307 <DIV id="text20_9" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:175px; margin-top:1498px; line-height:15px; white-space:nowrap">\r
308 \92l</DIV>\r
309 <DIV id="text20_10" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#408080; margin-left:42px; margin-top:1740px; line-height:13px; white-space:nowrap">\r
310 "REG_SZ"</DIV>\r
311 <DIV id="text20_11" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#408080; margin-left:42px; margin-top:1782px; line-height:13px; white-space:nowrap">\r
312 "REG_DWORD"</DIV>\r
313 <DIV id="text20_12" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#408080; margin-left:42px; margin-top:1803px; line-height:13px; white-space:nowrap">\r
314 "REG_BINARY"</DIV>\r
315 <DIV id="text20_13" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#408080; margin-left:42px; margin-top:1824px; line-height:13px; white-space:nowrap">\r
316 "REG_MULTI_SZ"</DIV>\r
317 <DIV id="text20_14" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:176px; margin-top:1822px; line-height:15px; white-space:nowrap">\r
318 \96{\83\81\83\\83b\83h\82Å\82Í\8eg\82¦\82Ü\82¹\82ñ</DIV>\r
319 <DIV id="text20_15" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#408080; font-weight: bold; margin-left:24px; margin-top:1700px; line-height:15px; white-space:nowrap">\r
320 Type \88ø\90\94\82Ì\92l</DIV>\r
321 <DIV id="text20_16" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#408080; margin-left:42px; margin-top:1761px; line-height:13px; white-space:nowrap">\r
322 "REG_EXPAND_SZ"</DIV>\r
323 <DIV id="text20_17" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:176px; margin-top:1759px; line-height:15px; white-space:nowrap">\r
324 \8aÂ\8b«\95Ï\90\94\82ð\93W\8aJ\82Å\82«\82é\95\8e\9a\97ñ</DIV>\r
325 <DIV id="text20_18" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:176px; margin-top:1738px; line-height:15px; white-space:nowrap">\r
326 \95\8e\9a\97ñ</DIV>\r
327 <DIV id="text20_19" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:176px; margin-top:1780px; line-height:15px; white-space:nowrap">\r
328 \90\94\92l</DIV>\r
329 <DIV id="text20_20" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:176px; margin-top:1801px; line-height:15px; white-space:nowrap">\r
330 \83o\83C\83i\83\8a</DIV>\r
331 <DIV id="text20_21" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:33px; margin-top:1538px; line-height:15px; white-space:nowrap">\r
332 \92l\82ð\8ai\94[\82·\82é\83L\81[\82ª\96³\82¢\82Æ\82«\82Í\81A\82»\82Ì\83L\81[\82à\8dì\90¬\82µ\82Ü\82·\81B</DIV>\r
333 <DIV id="text20_22" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:33px; margin-top:1590px; line-height:15px; white-space:nowrap">\r
334 \83A\83N\83Z\83X\8b\91\94Û\82³\82ê\82é\82Æ\81A\83G\83\89\81[ 0x80070005 \82É\82È\82è\82Ü\82·\81B</DIV>\r
335 <v:rect style="position:absolute; margin-left:49px; margin-top:1614px; width:220px; height:25px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
336 <DIV id="text20_23" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:57px; margin-top:1621px; line-height:13px; white-space:nowrap">\r
337 Const&nbsp; E_AccessDenied = &amp;h80070005</DIV>\r
338 <DIV id="text20_24" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:33px; margin-top:1863px; line-height:15px; white-space:nowrap">\r
339 <A href="vbs_memo_13.html#reg">\r
340 \81¨ \83\8c\83W\83X\83g\83\8a</A></DIV>\r
341 <DIV id="text20_25" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:33px; margin-top:1662px; line-height:15px; white-space:nowrap">\r
342 <A href="vbs_memo_13.html#reg_sample">\r
343 \81¨ \83T\83\93\83v\83\8b</A></DIV>\r
344 <DIV id="text20_26" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:33px; margin-top:1564px; line-height:15px; white-space:nowrap">\r
345 Path \82Ì\96\96\94ö\82ª \ \82Ì\82Æ\82«\82Í\81A\83L\81[\82Ì(\95W\8f\80)\82Ì\92l\82ð\90Ý\92è\82µ\82Ü\82·\81B</DIV>\r
346 <DIV id="text20_27" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:76px; margin-top:1894px; line-height:15px; white-space:nowrap">\r
347 <A href="..\vbslib.files\vbslib_27.html#RegWrite">\r
348 \81¨ RegWrite (vbslib)</A></DIV>\r
349 <DIV id="text20_28" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#408080; font-weight: bold; margin-left:33px; margin-top:1894px; line-height:15px; white-space:nowrap">\r
350 \8aÖ\98A</DIV>\r
351 \r
352 <v:line from="0,1358" to="607,1358"/>\r
353 <v:line from="607,1358" to="607,1942"/>\r
354 <v:line from="607,1942" to="0,1942"/>\r
355 <v:line from="0,1942" to="0,1358"/>\r
356 \r
357 </PAGE>\r
358  \r
359 <!-- page 21 --> \r
360 <PAGE>\r
361 <A id="svgcats_vml_p21" class="to_tree" style="margin-top:1947px;" onClick="selectTreeElem( '21' );">\81©</A>\r
362 <A href="#svgcats_vml_p22" class="to_next_page" style="margin-top:1947px;">\81¥</A>\r
363 <A href="#svgcats_vml_p20" class="to_prev_page" style="margin-top:1947px;">\81£</A>\r
364 <v:rect style="position:absolute; margin-left:0px; margin-top:1958px; width:434px; height:262px;" fillcolor="white"/>\r
365 <DIV id="text21_1" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:24px; margin-top:1975px; line-height:15px; white-space:nowrap">\r
366 <A name="Shell_RegDelete">\r
367 RegDelete (Shell)</A></DIV>\r
368 <v:rect style="position:absolute; margin-left:25px; margin-top:2008px; width:250px; height:25px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
369 <DIV id="text21_2" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:33px; margin-top:2015px; line-height:13px; white-space:nowrap">\r
370 Sub&nbsp; Shell::RegDelete( Path as string )</DIV>\r
371 <DIV id="text21_3" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:33px; margin-top:2048px; line-height:15px; white-space:nowrap">\r
372 \83\8c\83W\83X\83g\83\8a\82Ì\92l\82©\83L\81[\82ð\8dí\8f\9c\82µ\82Ü\82·\81B</DIV>\r
373 <DIV id="text21_4" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:33px; margin-top:2076px; line-height:15px; white-space:nowrap">\r
374 \81y\88ø\90\94\81z</DIV>\r
375 <DIV id="text21_5" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:104px; margin-top:2076px; line-height:15px; white-space:nowrap">\r
376 path</DIV>\r
377 <DIV id="text21_6" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:175px; margin-top:2076px; line-height:15px; white-space:nowrap">\r
378 \83\8c\83W\83X\83g\83\8a\82Ì\83p\83X</DIV>\r
379 <DIV id="text21_7" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:104px; margin-top:2093px; line-height:15px; white-space:nowrap">\r
380 \95Ô\82è\92l</DIV>\r
381 <DIV id="text21_8" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:175px; margin-top:2093px; line-height:15px; white-space:nowrap">\r
382 \92l</DIV>\r
383 <DIV id="text21_9" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:202px; margin-top:1975px; line-height:15px; white-space:nowrap">\r
384 <A href="http://msdn.microsoft.com/ja-jp/library/cc364415.aspx" target="_blank">\r
385 (Web)</A></DIV>\r
386 <DIV id="text21_10" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:33px; margin-top:2173px; line-height:15px; white-space:nowrap">\r
387 <A href="vbs_memo_13.html#reg_sample">\r
388 \81¨ \83T\83\93\83v\83\8b</A></DIV>\r
389 <DIV id="text21_11" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:33px; margin-top:2128px; line-height:15px; white-space:nowrap">\r
390 Path \82Ì\96\96\94ö\82ª \ \82Ì\82Æ\82«\82Í\81A\83L\81[\82ð\8dí\8f\9c\82µ\82Ü\82·\81B<BR/>\r
391 Path \82Ì\96\96\94ö\82ª \ \82Å\82Í\82È\82¢\82Æ\82«\82Í\81A\92l\82ð\8dí\8f\9c\82µ\82Ü\82·\81B</DIV>\r
392 \r
393 <v:line from="0,1958" to="434,1958"/>\r
394 <v:line from="434,1958" to="434,2220"/>\r
395 <v:line from="434,2220" to="0,2220"/>\r
396 <v:line from="0,2220" to="0,1958"/>\r
397 \r
398 </PAGE>\r
399  \r
400 <!-- page 22 --> \r
401 <PAGE>\r
402 <A id="svgcats_vml_p22" class="to_tree" style="margin-top:2225px;" onClick="selectTreeElem( '22' );">\81©</A>\r
403 <A href="#svgcats_vml_p23" class="to_next_page" style="margin-top:2225px;">\81¥</A>\r
404 <A href="#svgcats_vml_p21" class="to_prev_page" style="margin-top:2225px;">\81£</A>\r
405 <v:rect style="position:absolute; margin-left:0px; margin-top:2236px; width:526px; height:576px;" fillcolor="white"/>\r
406 <DIV id="text22_1" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:24px; margin-top:2253px; line-height:15px; white-space:nowrap">\r
407 <A name="CreateShortcut_Shell">\r
408 CreateShortcut (Shell)</A></DIV>\r
409 <v:rect style="position:absolute; margin-left:34px; margin-top:2560px; width:460px; height:220px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
410 <DIV id="text22_2" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:42px; margin-top:2566px; line-height:15px; white-space:nowrap">\r
411 Option Explicit<BR/>\r
412 <BR/>\r
413 Dim g_sh : Set&nbsp; g_sh = WScript.CreateObject( "WScript.Shell" )<BR/>\r
414 Dim desktop_path : desktop_path = g_sh.SpecialFolders( "Desktop" )<BR/>\r
415 <BR/>\r
416 Dim shcut : Set shcut = g_sh.CreateShortcut( desktop_path + "\file1.lnk" )<BR/>\r
417 shcut.TargetPath = desktop_path + "\file1.txt"<BR/>\r
418 shcut.Arguments = "1 2 3"<BR/>\r
419 shcut.WorkingDirectory = desktop_path<BR/>\r
420 shcut.Description = "This is test shortcut"<BR/>\r
421 shcut.IconLocation = "foo.exe,1"<BR/>\r
422 shcut.WindowStyle = 3<BR/>\r
423 shcut.HotKey = "CTRL+ALT+SHIFT+X"<BR/>\r
424 shcut.Save</DIV>\r
425 <DIV id="text22_3" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:31px; margin-top:2539px; line-height:15px; white-space:nowrap">\r
426 \83T\83\93\83v\83\8b\81\8fã\8bL\82Ì\83T\83\93\83v\83\8b\82æ\82è\8d×\82©\82¢\90Ý\92è\82ð\92Ç\89Á\82µ\82½\82à\82Ì\81B</DIV>\r
427 <v:rect style="position:absolute; margin-left:25px; margin-top:2286px; width:448px; height:25px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
428 <DIV id="text22_4" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:33px; margin-top:2293px; line-height:13px; white-space:nowrap">\r
429 Function&nbsp; Shell::CreateShortcut( ShortcutPath as string ) as WshShortcut</DIV>\r
430 <DIV id="text22_5" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:194px; margin-top:2253px; line-height:15px; white-space:nowrap">\r
431 <A href="http://msdn.microsoft.com/ja-jp/library/cc364400.aspx" target="_blank">\r
432 (Web)</A></DIV>\r
433 <DIV id="text22_6" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:33px; margin-top:2321px; line-height:15px; white-space:nowrap">\r
434 \83V\83\87\81[\83g\83J\83b\83g\82ð\90V\8bK\82É\8dì\90¬\82µ\82Ü\82·\81B</DIV>\r
435 <DIV id="text22_7" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:31px; margin-top:2368px; line-height:15px; white-space:nowrap">\r
436 \83T\83\93\83v\83\8b\81\83f\83X\83N\83g\83b\83v\82É\81Afile1.lnk \82Æ\82¢\82¤\96¼\91O\82Ì\83V\83\87\81[\83g\83J\83b\83g\82ª\82Å\82«\82Ü\82·\81B</DIV>\r
437 <v:rect style="position:absolute; margin-left:34px; margin-top:2389px; width:460px; height:130px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
438 <DIV id="text22_8" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:42px; margin-top:2395px; line-height:15px; white-space:nowrap">\r
439 Option Explicit<BR/>\r
440 <BR/>\r
441 Dim g_sh : Set&nbsp; g_sh = WScript.CreateObject( "WScript.Shell" )<BR/>\r
442 Dim desktop_path : desktop_path = g_sh.SpecialFolders( "Desktop" )<BR/>\r
443 <BR/>\r
444 Dim shcut : Set shcut = g_sh.CreateShortcut( desktop_path + "\file1.lnk" )<BR/>\r
445 shcut.TargetPath = desktop_path + "\file1.txt"<BR/>\r
446 shcut.Save</DIV>\r
447 <DIV id="text22_9" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#FF0000; margin-left:312px; margin-top:2471px; line-height:13px; white-space:nowrap">\r
448 desktop_path + "\file1.lnk"</DIV>\r
449 <DIV id="text22_10" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#FF0000; margin-left:156px; margin-top:2486px; line-height:13px; white-space:nowrap">\r
450 desktop_path + "\file1.txt"</DIV>\r
451 \r
452 <v:line from="0,2236" to="526,2236"/>\r
453 <v:line from="526,2236" to="526,2812"/>\r
454 <v:line from="526,2812" to="0,2812"/>\r
455 <v:line from="0,2812" to="0,2236"/>\r
456 \r
457 </PAGE>\r
458  \r
459 <!-- page 23 --> \r
460 <PAGE>\r
461 <A id="svgcats_vml_p23" class="to_tree" style="margin-top:2817px;" onClick="selectTreeElem( '23' );">\81©</A>\r
462 <A href="#svgcats_vml_p24" class="to_next_page" style="margin-top:2817px;">\81¥</A>\r
463 <A href="#svgcats_vml_p22" class="to_prev_page" style="margin-top:2817px;">\81£</A>\r
464 <v:rect style="position:absolute; margin-left:0px; margin-top:2828px; width:667px; height:305px;" fillcolor="white"/>\r
465 <DIV id="text23_1" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:24px; margin-top:2845px; line-height:15px; white-space:nowrap">\r
466 <A name="Popup_Shell">\r
467 Popup (Shell)</A></DIV>\r
468 <DIV id="text23_2" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:151px; margin-top:2845px; line-height:15px; white-space:nowrap">\r
469 <A href="http://msdn.microsoft.com/ja-jp/library/cc364428.aspx" target="_blank">\r
470 (Web)</A></DIV>\r
471 <v:rect style="position:absolute; margin-left:25px; margin-top:2875px; width:610px; height:40px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
472 <DIV id="text23_3" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:33px; margin-top:2881px; line-height:15px; white-space:nowrap">\r
473 Function&nbsp; Shell::Popup( Text as string, SecondToWait as integer, Title as string, Type as integer )<BR/>\r
474 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; as integer</DIV>\r
475 <DIV id="text23_4" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:33px; margin-top:2931px; line-height:15px; white-space:nowrap">\r
476 \83\81\83b\83Z\81[\83W\83{\83b\83N\83X\82ð\95\\8e¦\82µ\82Ü\82·\81B</DIV>\r
477 <DIV id="text23_5" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:33px; margin-top:2957px; line-height:15px; white-space:nowrap">\r
478 \81y\88ø\90\94\81z</DIV>\r
479 <DIV id="text23_6" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:97px; margin-top:2957px; line-height:15px; white-space:nowrap">\r
480 Text</DIV>\r
481 <DIV id="text23_7" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:97px; margin-top:2976px; line-height:15px; white-space:nowrap">\r
482 SecondToWait</DIV>\r
483 <DIV id="text23_8" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:201px; margin-top:2957px; line-height:15px; white-space:nowrap">\r
484 \95\\8e¦\82·\82é\93à\97e</DIV>\r
485 <DIV id="text23_9" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:201px; margin-top:2976px; line-height:15px; white-space:nowrap">\r
486 \8e©\93®\93I\82É\95Â\82\82é\82Ü\82Å\82Ì\8e\9e\8aÔ\81i\95b\81j</DIV>\r
487 <DIV id="text23_10" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:97px; margin-top:2995px; line-height:15px; white-space:nowrap">\r
488 Title</DIV>\r
489 <DIV id="text23_11" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:201px; margin-top:2995px; line-height:15px; white-space:nowrap">\r
490 \83\81\83b\83Z\81[\83W\83{\83b\83N\83X\82Ì\83^\83C\83g\83\8b\82É\95\\8e¦\82·\82é\93à\97e</DIV>\r
491 <DIV id="text23_12" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:201px; margin-top:3033px; line-height:15px; white-space:nowrap">\r
492 \89\9f\82³\82ê\82½\83{\83^\83\93\81\8e©\93®\93I\82É\95Â\82\82½\82Æ\82« = -1</DIV>\r
493 <DIV id="text23_13" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:97px; margin-top:3033px; line-height:15px; white-space:nowrap">\r
494 \95Ô\82è\92l</DIV>\r
495 <DIV id="text23_14" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:201px; margin-top:3014px; line-height:15px; white-space:nowrap">\r
496 \83\81\83b\83Z\81[\83W\83{\83b\83N\83X\82Ì\8eí\97Þ</DIV>\r
497 <DIV id="text23_15" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:97px; margin-top:3014px; line-height:15px; white-space:nowrap">\r
498 Type</DIV>\r
499 <DIV id="text23_16" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:33px; margin-top:3069px; line-height:15px; white-space:nowrap">\r
500 <A href="#MsgBox">\r
501 MsgBox</A></DIV>\r
502 <DIV id="text23_17" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:84px; margin-top:3069px; line-height:15px; white-space:nowrap">\r
503 \82Æ\82Ì\88á\82¢\82Í\81A\8e©\93®\93I\82É\95Â\82\82é\82Ü\82Å\82Ì\8e\9e\8aÔ\82ª\8ew\92è\82Å\82«\82é\82±\82Æ\82Å\82·\81B</DIV>\r
504 <DIV id="text23_18" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:33px; margin-top:3085px; line-height:15px; white-space:nowrap">\r
505 \83J\83E\83\93\83g\83_\83E\83\93\95\\8e¦\82Í\82µ\82Ü\82¹\82ñ\81B</DIV>\r
506 \r
507 <v:line from="0,2828" to="667,2828"/>\r
508 <v:line from="667,2828" to="667,3133"/>\r
509 <v:line from="667,3133" to="0,3133"/>\r
510 <v:line from="0,3133" to="0,2828"/>\r
511 \r
512 </PAGE>\r
513  \r
514 <!-- page 24 --> \r
515 <PAGE>\r
516 <A id="svgcats_vml_p24" class="to_tree" style="margin-top:3138px;" onClick="selectTreeElem( '24' );">\81©</A>\r
517 <A href="#svgcats_vml_p25" class="to_next_page" style="margin-top:3138px;">\81¥</A>\r
518 <A href="#svgcats_vml_p23" class="to_prev_page" style="margin-top:3138px;">\81£</A>\r
519 <v:rect style="position:absolute; margin-left:0px; margin-top:3149px; width:410px; height:344px;" fillcolor="white"/>\r
520 <DIV id="text24_1" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:24px; margin-top:3166px; line-height:15px; white-space:nowrap">\r
521 <A name="WshScriptExec">\r
522 WshScriptExec \83I\83u\83W\83F\83N\83g</A></DIV>\r
523 <DIV id="text24_2" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:330px; margin-top:3166px; line-height:15px; white-space:nowrap">\r
524 <A href="http://msdn.microsoft.com/ja-jp/library/cc364375.aspx" target="_blank">\r
525 (Web)</A></DIV>\r
526 <DIV id="text24_3" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#408080; margin-left:46px; margin-top:3228px; line-height:13px; white-space:nowrap">\r
527 .Status</DIV>\r
528 <DIV id="text24_4" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#408080; margin-left:46px; margin-top:3250px; line-height:13px; white-space:nowrap">\r
529 .StdIn</DIV>\r
530 <DIV id="text24_5" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#408080; margin-left:46px; margin-top:3272px; line-height:13px; white-space:nowrap">\r
531 .StdOut</DIV>\r
532 <DIV id="text24_6" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#408080; margin-left:46px; margin-top:3294px; line-height:13px; white-space:nowrap">\r
533 .StdErr</DIV>\r
534 <DIV id="text24_7" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:120px; margin-top:3226px; line-height:15px; white-space:nowrap">\r
535 0=\8eÀ\8ds\92\86\81A1=\8fI\97¹</DIV>\r
536 <DIV id="text24_8" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#408080; margin-left:46px; margin-top:3316px; line-height:13px; white-space:nowrap">\r
537 .Terminate</DIV>\r
538 <v:rect style="position:absolute; margin-left:38px; margin-top:3388px; width:190px; height:51px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
539 <DIV id="text24_9" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:46px; margin-top:3394px; line-height:15px; white-space:nowrap">\r
540 &nbsp; Dim ex<BR/>\r
541 &nbsp; Set ex = g_sh.Exec( "..." )<BR/>\r
542 &nbsp; ex.StdIn.Write&nbsp; "Y"+vbCRLF</DIV>\r
543 <DIV id="text24_10" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:25px; margin-top:3367px; line-height:15px; white-space:nowrap">\r
544 .StdIn \82Ì\97á</DIV>\r
545 <DIV id="text24_11" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:120px; margin-top:3248px; line-height:15px; white-space:nowrap">\r
546 \81i\89º\8bL\81j</DIV>\r
547 \r
548 <v:line from="0,3149" to="410,3149"/>\r
549 <v:line from="410,3149" to="410,3493"/>\r
550 <v:line from="410,3493" to="0,3493"/>\r
551 <v:line from="0,3493" to="0,3149"/>\r
552 \r
553 </PAGE>\r
554  \r
555 <!-- page 25 --> \r
556 <PAGE>\r
557 <A id="svgcats_vml_p25" class="to_tree" style="margin-top:3498px;" onClick="selectTreeElem( '25' );">\81©</A>\r
558 <A href="#svgcats_vml_p26" class="to_next_page" style="margin-top:3498px;">\81¥</A>\r
559 <A href="#svgcats_vml_p24" class="to_prev_page" style="margin-top:3498px;">\81£</A>\r
560 <v:rect style="position:absolute; margin-left:0px; margin-top:3509px; width:640px; height:410px;" fillcolor="white"/>\r
561 <DIV id="text25_1" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:24px; margin-top:3526px; line-height:15px; white-space:nowrap">\r
562 <A name="WshEnvironment">\r
563 WshEnvironment \83I\83u\83W\83F\83N\83g</A></DIV>\r
564 <DIV id="text25_2" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:237px; margin-top:3526px; line-height:15px; white-space:nowrap">\r
565 <A href="http://msdn.microsoft.com/ja-jp/library/cc364435.aspx" target="_blank">\r
566 (Web)</A></DIV>\r
567 <DIV id="text25_3" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:76px; margin-top:3569px; line-height:15px; white-space:nowrap">\r
568 <A href="vbs_memo_01.html#Environment_Shell">\r
569 \81¨ Environment (Shell)</A></DIV>\r
570 <DIV id="text25_4" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#408080; font-weight: bold; margin-left:24px; margin-top:3569px; line-height:15px; white-space:nowrap">\r
571 \8eæ\93¾</DIV>\r
572 <DIV id="text25_5" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#408080; margin-left:45px; margin-top:3655px; line-height:13px; white-space:nowrap">\r
573 .Length</DIV>\r
574 <DIV id="text25_6" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#408080; margin-left:45px; margin-top:3681px; line-height:13px; white-space:nowrap">\r
575 .Count</DIV>\r
576 <DIV id="text25_7" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#408080; margin-left:45px; margin-top:3629px; line-height:13px; white-space:nowrap">\r
577 .Item( symbol as string )</DIV>\r
578 <DIV id="text25_8" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#408080; margin-left:45px; margin-top:3772px; line-height:13px; white-space:nowrap">\r
579 (Default Property)</DIV>\r
580 <DIV id="text25_9" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#408080; margin-left:45px; margin-top:3707px; line-height:13px; white-space:nowrap">\r
581 .Remove( symbol as string )</DIV>\r
582 <DIV id="text25_10" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:166px; margin-top:3771px; line-height:15px; white-space:nowrap">\r
583 \8aÂ\8b«\95Ï\90\94\82Ì\90Ý\92è\82Ì\88ê\97\97\81B Array( "VAR1=A", ... )</DIV>\r
584 <DIV id="text25_11" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:216px; margin-top:3627px; line-height:15px; white-space:nowrap">\r
585 symbol \82É\8ew\92è\82µ\82½\8aÂ\8b«\95Ï\90\94\82Ì\8eQ\8fÆ</DIV>\r
586 <v:rect style="position:absolute; margin-left:77px; margin-top:3795px; width:220px; height:55px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
587 <DIV id="text25_12" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:85px; margin-top:3801px; line-height:15px; white-space:nowrap">\r
588 For Each line&nbsp; In g_sh.Environment<BR/>\r
589 &nbsp; '// line sample is&nbsp; "VAR1=A"<BR/>\r
590 Next</DIV>\r
591 <DIV id="text25_13" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:85px; margin-top:3858px; line-height:15px; white-space:nowrap">\r
592 g_sh.Environment(0) \82Í\81A"=::=::\" \82Å\82·\81\96³\82¢\82±\82Æ\82à\82 \82è\82Ü\82·\81B<BR/>\r
593 g_sh.Environment(1) \82Í\81A"=C:=\81i\83J\83\8c\83\93\83g\83f\83B\83\8c\83N\83g\83\8a\81j" \82Å\82·\81B</DIV>\r
594 <DIV id="text25_14" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:104px; margin-top:3679px; line-height:15px; white-space:nowrap">\r
595 \97v\91f\90\94</DIV>\r
596 <DIV id="text25_15" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:104px; margin-top:3652px; line-height:15px; white-space:nowrap">\r
597 \97v\91f\90\94</DIV>\r
598 <DIV id="text25_16" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#408080; font-weight: bold; margin-left:24px; margin-top:3601px; line-height:15px; white-space:nowrap">\r
599 Dictionary \8f\80\8b\92\83\81\83\93\83o\81[</DIV>\r
600 <DIV id="text25_17" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#408080; font-weight: bold; margin-left:24px; margin-top:3747px; line-height:15px; white-space:nowrap">\r
601 \82»\82Ì\91¼\82Ì\83\81\83\93\83o\81[</DIV>\r
602 \r
603 <v:line from="0,3509" to="640,3509"/>\r
604 <v:line from="640,3509" to="640,3919"/>\r
605 <v:line from="640,3919" to="0,3919"/>\r
606 <v:line from="0,3919" to="0,3509"/>\r
607 \r
608 </PAGE>\r
609  \r
610 <!-- page 26 --> \r
611 <PAGE>\r
612 <A id="svgcats_vml_p26" class="to_tree" style="margin-top:3924px;" onClick="selectTreeElem( '26' );">\81©</A>\r
613 <A href="#svgcats_vml_p27" class="to_next_page" style="margin-top:3924px;">\81¥</A>\r
614 <A href="#svgcats_vml_p25" class="to_prev_page" style="margin-top:3924px;">\81£</A>\r
615 <v:rect style="position:absolute; margin-left:0px; margin-top:3935px; width:234px; height:170px;" fillcolor="white"/>\r
616 <DIV id="text26_1" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:24px; margin-top:3952px; line-height:15px; white-space:nowrap">\r
617 <A name="ui">\r
618 \83\86\81[\83U\81[\83C\83\93\83^\81[\83t\83F\83C\83X</A></DIV>\r
619 <DIV id="text26_2" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:40px; margin-top:3994px; line-height:15px; white-space:nowrap">\r
620 <A href="#MsgBox">\r
621 \81¨ \83\81\83b\83Z\81[\83W\83{\83b\83N\83X</A></DIV>\r
622 <DIV id="text26_3" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:40px; margin-top:4057px; line-height:15px; white-space:nowrap">\r
623 <A href="#sendkeys">\r
624 \81¨ \83L\81[\83{\81[\83h\81E\83R\81[\83h\82ð\91\97\82é</A></DIV>\r
625 <DIV id="text26_4" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:40px; margin-top:4024px; line-height:15px; white-space:nowrap">\r
626 <A href="#inputbox">\r
627 \81¨ \93ü\97Í\83{\83b\83N\83X</A></DIV>\r
628 \r
629 <v:line from="0,3935" to="234,3935"/>\r
630 <v:line from="234,3935" to="234,4105"/>\r
631 <v:line from="234,4105" to="0,4105"/>\r
632 <v:line from="0,4105" to="0,3935"/>\r
633 \r
634 </PAGE>\r
635  \r
636 <!-- page 27 --> \r
637 <PAGE>\r
638 <A id="svgcats_vml_p27" class="to_tree" style="margin-top:4110px;" onClick="selectTreeElem( '27' );">\81©</A>\r
639 <A href="#svgcats_vml_p28" class="to_next_page" style="margin-top:4110px;">\81¥</A>\r
640 <A href="#svgcats_vml_p26" class="to_prev_page" style="margin-top:4110px;">\81£</A>\r
641 <v:rect style="position:absolute; margin-left:0px; margin-top:4121px; width:631px; height:671px;" fillcolor="white"/>\r
642 <v:image src="27/image01.png"\r
643    style="position:absolute; margin-left:38px; margin-top:4257px; width:64px; height:54px;"/>\r
644 <v:image src="27/image02.png"\r
645    style="position:absolute; margin-left:36px; margin-top:4345px; width:106px; height:50px;"/>\r
646 <v:image src="27/image03.png"\r
647    style="position:absolute; margin-left:50px; margin-top:4683px; width:64px; height:54px;"/>\r
648 <DIV id="text27_4" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:24px; margin-top:4138px; line-height:15px; white-space:nowrap">\r
649 <A name="msgboxes">\r
650 \83\81\83b\83Z\81[\83W\83{\83b\83N\83X</A></DIV>\r
651 <v:rect style="position:absolute; margin-left:167px; margin-top:4273px; width:142px; height:25px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
652 <DIV id="text27_5" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:175px; margin-top:4280px; line-height:13px; white-space:nowrap">\r
653 MsgBox "\81`\82µ\82Ü\82µ\82½\81B"</DIV>\r
654 <DIV id="text27_6" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:76px; margin-top:4414px; line-height:15px; white-space:nowrap">\r
655 (p297)</DIV>\r
656 <DIV id="text27_7" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:187px; margin-top:4440px; line-height:15px; white-space:nowrap">\r
657 vbOKOnly = 0, vbOKCancel = 1, vbYesNo = 4, vbYesNoCancel = 3</DIV>\r
658 <DIV id="text27_8" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:187px; margin-top:4466px; line-height:15px; white-space:nowrap">\r
659 vbCritical = 16, vbQuestion = 32, vbExplamation = 48, vbInformation = 64</DIV>\r
660 <DIV id="text27_9" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:76px; margin-top:4440px; line-height:15px; white-space:nowrap">\r
661 \83{\83^\83\93\82Ì\8d\\90¬</DIV>\r
662 <DIV id="text27_10" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:76px; margin-top:4466px; line-height:15px; white-space:nowrap">\r
663 \83A\83C\83R\83\93</DIV>\r
664 <DIV id="text27_11" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:187px; margin-top:4492px; line-height:15px; white-space:nowrap">\r
665 vbDefultButton1 = 0, vbDefultButton2=256, vbDefultButton3=512</DIV>\r
666 <DIV id="text27_12" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:76px; margin-top:4492px; line-height:15px; white-space:nowrap">\r
667 \83f\83t\83H\83\8b\83g</DIV>\r
668 <DIV id="text27_13" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:187px; margin-top:4518px; line-height:15px; white-space:nowrap">\r
669 vbOK = 1, vbCancel = 2, vbYes = 6, vbNo = 7</DIV>\r
670 <DIV id="text27_14" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:76px; margin-top:4518px; line-height:15px; white-space:nowrap">\r
671 \89\9f\82³\82ê\82½\83{\83^\83\93</DIV>\r
672 <v:rect style="position:absolute; margin-left:167px; margin-top:4346px; width:406px; height:40px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
673 <DIV id="text27_15" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:175px; margin-top:4352px; line-height:15px; white-space:nowrap">\r
674 If MsgBox( "\81`\82µ\82Ü\82·", vbOKCancel, "\83^\83C\83g\83\8b" ) = vbCancel Then _<BR/>\r
675 &nbsp; WScript.Quit&nbsp; 1</DIV>\r
676 <DIV id="text27_16" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:172px; margin-top:4251px; line-height:15px; white-space:nowrap">\r
677 (p264)</DIV>\r
678 <v:rect style="position:absolute; margin-left:349px; margin-top:4273px; width:214px; height:25px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
679 <DIV id="text27_17" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:357px; margin-top:4280px; line-height:13px; white-space:nowrap">\r
680 MsgBox "1" + Chr(13)+Chr(10) +"2"</DIV>\r
681 <DIV id="text27_18" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:349px; margin-top:4256px; line-height:15px; white-space:nowrap">\r
682 \95¡\90\94\8ds</DIV>\r
683 <v:rect style="position:absolute; margin-left:167px; margin-top:4304px; width:274px; height:25px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
684 <DIV id="text27_19" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:175px; margin-top:4311px; line-height:13px; white-space:nowrap">\r
685 MsgBox "\81`\82µ\82Ü\82µ\82½\81B", vbOKOnly, "\83^\83C\83g\83\8b"</DIV>\r
686 <DIV id="text27_20" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:24px; margin-top:4170px; line-height:15px; white-space:nowrap">\r
687 MsgBox \82Í\81ACScript \82Å\8eÀ\8ds\82µ\82Ä\82à\81A\83E\83B\83\93\83h\83E\82ª\95\\8e¦\82³\82ê\82Ü\82·\81B<BR/>\r
688 WScript.Echo \82Í\81AWScript \82Å\82Í\83E\83B\83\93\83h\83E\95\\8e¦\81ACScript \82Å\82Í\95W\8f\80\8fo\97Í\82É\82È\82è\82Ü\82·\81B</DIV>\r
689 <v:rect style="position:absolute; margin-left:324px; margin-top:4699px; width:178px; height:25px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
690 <DIV id="text27_21" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:332px; margin-top:4706px; line-height:13px; white-space:nowrap">\r
691 WScript.Echo "\81`\82µ\82Ü\82µ\82½\81B"</DIV>\r
692 <DIV id="text27_22" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#408080; margin-left:24px; margin-top:4230px; line-height:15px; white-space:nowrap">\r
693 <A name="MsgBox" href="#MsgBox" style="color:#408080">\r
694 MsgBox</A></DIV>\r
695 <DIV id="text27_23" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#408080; margin-left:28px; margin-top:4650px; line-height:15px; white-space:nowrap">\r
696 <A name="echo">\r
697 WScript.Echo</A></DIV>\r
698 <v:rect style="position:absolute; margin-left:199px; margin-top:4701px; width:99px; height:20px;" fillcolor="#808080" strokecolor="#808080" strokeweight="1pt"/>\r
699 <DIV id="text27_24" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#FFFFFF; margin-left:213px; margin-top:4706px; line-height:13px; white-space:nowrap">\r
700 \81`\82µ\82Ü\82µ\82½\81B</DIV>\r
701 <DIV id="text27_25" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:138px; margin-top:4704px; line-height:15px; white-space:nowrap">\r
702 \82Ü\82½\82Í</DIV>\r
703 <DIV id="text27_26" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:332px; margin-top:4738px; line-height:15px; white-space:nowrap">\r
704 <A href="..\vbslib.files\vbslib_04.html#echo">\r
705 \81¨ vbslib - echo</A></DIV>\r
706 <DIV id="text27_27" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:448px; margin-top:4738px; line-height:15px; white-space:nowrap">\r
707 <A href="vbs_memo_01.html#WScript_Echo">\r
708 \81¨ WScript::Echo</A></DIV>\r
709 <DIV id="text27_28" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:187px; margin-top:4682px; line-height:15px; white-space:nowrap">\r
710 \81i\83v\83\8d\83\93\83v\83g\82Ö\81j</DIV>\r
711 <DIV id="text27_29" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:94px; margin-top:4230px; line-height:15px; white-space:nowrap">\r
712 <A href="http://msdn.microsoft.com/en-us/library/sfw6660x(VS.85).aspx" target="_blank">\r
713 (Web)</A></DIV>\r
714 <DIV id="text27_30" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:187px; margin-top:4544px; line-height:15px; white-space:nowrap">\r
715 vbSystemModal=4096</DIV>\r
716 <DIV id="text27_31" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#408080; margin-left:28px; margin-top:4575px; line-height:15px; white-space:nowrap">\r
717 Shell::Popup</DIV>\r
718 <DIV id="text27_32" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:36px; margin-top:4744px; line-height:15px; white-space:nowrap">\r
719 wscript.exe \82Ì\82Æ\82«</DIV>\r
720 <DIV id="text27_33" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:199px; margin-top:4727px; line-height:15px; white-space:nowrap">\r
721 cscript.exe \82Ì\82Æ\82«</DIV>\r
722 <DIV id="text27_34" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:49px; margin-top:4601px; line-height:15px; white-space:nowrap">\r
723 \8e©\93®\93I\82É\95Â\82\82é\82Ü\82Å\82Ì\8e\9e\8aÔ\82ð\8ew\92è\82Å\82«\82é MsgBox \82Å\82·\81B</DIV>\r
724 <DIV id="text27_35" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:368px; margin-top:4601px; line-height:15px; white-space:nowrap">\r
725 <A href="#Popup_Shell">\r
726 \81¨ Popup (Shell)</A></DIV>\r
727 \r
728 <v:line from="0,4121" to="631,4121"/>\r
729 <v:line from="631,4121" to="631,4792"/>\r
730 <v:line from="631,4792" to="0,4792"/>\r
731 <v:line from="0,4792" to="0,4121"/>\r
732 \r
733 </PAGE>\r
734  \r
735 <!-- page 28 --> \r
736 <PAGE>\r
737 <A id="svgcats_vml_p28" class="to_tree" style="margin-top:4797px;" onClick="selectTreeElem( '28' );">\81©</A>\r
738 <A href="#svgcats_vml_p29" class="to_next_page" style="margin-top:4797px;">\81¥</A>\r
739 <A href="#svgcats_vml_p27" class="to_prev_page" style="margin-top:4797px;">\81£</A>\r
740 <v:rect style="position:absolute; margin-left:0px; margin-top:4808px; width:646px; height:840px;" fillcolor="white"/>\r
741 <v:image src="28/image01.png"\r
742    style="position:absolute; margin-left:40px; margin-top:4968px; width:181px; height:70px;"/>\r
743 <DIV id="text28_2" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:24px; margin-top:4825px; line-height:15px; white-space:nowrap">\r
744 <A name="input">\r
745 \93ü\97Í\83{\83b\83N\83X\81AInputBox</A></DIV>\r
746 <DIV id="text28_3" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:246px; margin-top:4976px; line-height:15px; white-space:nowrap">\r
747 (p263)</DIV>\r
748 <v:rect style="position:absolute; margin-left:238px; margin-top:4999px; width:376px; height:25px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
749 <DIV id="text28_4" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:246px; margin-top:5006px; line-height:13px; white-space:nowrap">\r
750 s = InputBox( "\93ü\97Í\82µ\82Ä\82­\82¾\82³\82¢", "\83^\83C\83g\83\8b", "\83f\83t\83H\83\8b\83g" )</DIV>\r
751 <DIV id="text28_5" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:237px; margin-top:5030px; line-height:15px; white-space:nowrap">\r
752 \83L\83\83\83\93\83Z\83\8b\82ª\89\9f\82³\82ê\82½\82ç\81A s="" \82É\82È\82è\82Ü\82·\81B</DIV>\r
753 <DIV id="text28_6" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:35px; margin-top:4879px; line-height:15px; white-space:nowrap">\r
754 InputBox \82Í\81ACScript \82Å\8eÀ\8ds\82µ\82Ä\82à\81A\83E\83B\83\93\83h\83E\82ª\95\\8e¦\82³\82ê\82Ü\82·\81B<BR/>\r
755 WScript.StdIn \82Í\81AWScript \82Å\82Í\83G\83\89\81[\82É\82È\82è\82Ü\82·\81BCScript \82Å\8eÀ\8ds\82µ\82Ä\82­\82¾\82³\82¢\81B</DIV>\r
756 <v:rect style="position:absolute; margin-left:238px; margin-top:5096px; width:256px; height:85px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
757 <DIV id="text28_7" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:246px; margin-top:5102px; line-height:15px; white-space:nowrap">\r
758 Dim name<BR/>\r
759 <BR/>\r
760 WScript.StdOut.Write "Enter your name: "<BR/>\r
761 name = WScript.StdIn.ReadLine()<BR/>\r
762 WScript.Echo "Hello, " &amp; name &amp; "!"</DIV>\r
763 <v:rect style="position:absolute; margin-left:43px; margin-top:5096px; width:153px; height:35px;" fillcolor="#808080" strokecolor="#808080" strokeweight="1pt"/>\r
764 <DIV id="text28_8" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#FFFFFF; margin-left:57px; margin-top:5100px; line-height:15px; white-space:nowrap">\r
765 Enter your name: bob<BR/>\r
766 Hello, bob , welcome!</DIV>\r
767 <DIV id="text28_9" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#408080; margin-left:35px; margin-top:4941px; line-height:15px; white-space:nowrap">\r
768 <A name="inputbox">\r
769 InputBox</A></DIV>\r
770 <DIV id="text28_10" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#408080; margin-left:35px; margin-top:5072px; line-height:15px; white-space:nowrap">\r
771 WScript.StdIn</DIV>\r
772 <DIV id="text28_11" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:246px; margin-top:5188px; line-height:15px; white-space:nowrap">\r
773 \81¨ vbslib - input</DIV>\r
774 <DIV id="text28_12" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#408080; font-weight: bold; margin-left:24px; margin-top:5233px; line-height:15px; white-space:nowrap">\r
775 \83T\83\93\83v\83\8b \81i\8bN\93®\8e\9e\82É\8eÀ\8ds\82·\82é\93à\97e\82Ì\91I\91ð\82·\82é\81j</DIV>\r
776 <v:rect style="position:absolute; margin-left:40px; margin-top:5261px; width:244px; height:355px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
777 <DIV id="text28_13" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:48px; margin-top:5267px; line-height:15px; white-space:nowrap">\r
778 Sub main()<BR/>\r
779 &nbsp; Dim&nbsp; op<BR/>\r
780 <BR/>\r
781 &nbsp; If ArgumentExist( "menu1" ) Then<BR/>\r
782 &nbsp; &nbsp; op = 1<BR/>\r
783 &nbsp; ElseIf ArgumentExist( "menu2" ) Then<BR/>\r
784 &nbsp; &nbsp; op = 2<BR/>\r
785 &nbsp; Else<BR/>\r
786 &nbsp; &nbsp; op = InputBox( _<BR/>\r
787 &nbsp; &nbsp; &nbsp; "1. menu1" +vbCRLF+_<BR/>\r
788 &nbsp; &nbsp; &nbsp; "2. menu2",_<BR/>\r
789 &nbsp; &nbsp; &nbsp; WScript.ScriptName )<BR/>\r
790 &nbsp; &nbsp; If op = "" Then&nbsp; WScript.Quit&nbsp; 1<BR/>\r
791 &nbsp; &nbsp; op = CInt( op )<BR/>\r
792 &nbsp; End If<BR/>\r
793 <BR/>\r
794 &nbsp; '// common functions<BR/>\r
795 <BR/>\r
796 &nbsp; Select Case op<BR/>\r
797 &nbsp; &nbsp; Case 1:&nbsp; '// each functions<BR/>\r
798 &nbsp; &nbsp; Case 2:&nbsp; '// each functions<BR/>\r
799 &nbsp; End Select<BR/>\r
800 End Sub</DIV>\r
801 \r
802 <v:line from="0,4808" to="646,4808"/>\r
803 <v:line from="646,4808" to="646,5648"/>\r
804 <v:line from="646,5648" to="0,5648"/>\r
805 <v:line from="0,5648" to="0,4808"/>\r
806 \r
807 </PAGE>\r
808  \r
809 <!-- page 29 --> \r
810 <PAGE>\r
811 <A id="svgcats_vml_p29" class="to_tree" style="margin-top:5653px;" onClick="selectTreeElem( '29' );">\81©</A>\r
812 <A href="#svgcats_vml_p30" class="to_next_page" style="margin-top:5653px;">\81¥</A>\r
813 <A href="#svgcats_vml_p28" class="to_prev_page" style="margin-top:5653px;">\81£</A>\r
814 <v:rect style="position:absolute; margin-left:0px; margin-top:5664px; width:519px; height:537px;" fillcolor="white"/>\r
815 <DIV id="text29_1" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:24px; margin-top:5681px; line-height:15px; white-space:nowrap">\r
816 <A name="sendkeys">\r
817 \83L\81[\83{\81[\83h\81E\83R\81[\83h\82ð\91\97\82é</A></DIV>\r
818 <DIV id="text29_2" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:70px; margin-top:6127px; line-height:15px; white-space:nowrap">\r
819 <A href="http://www.atmarkit.co.jp/fwin2k/operation/wsh05/wsh05_04.html" target="_blank">\r
820 \81¨ \81\97IT\81F4\81D\83L\81[\81E\83X\83g\83\8d\81[\83N\82Ì\91\97\90M\82Æ\83v\83\8d\83O\83\89\83\80\82Ì\83A\83N\83e\83B\83x\81[\83V\83\87\83\93 (Web)</A></DIV>\r
821 <DIV id="text29_3" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:36px; margin-top:6127px; line-height:15px; white-space:nowrap">\r
822 \8eQ\8dl</DIV>\r
823 <DIV id="text29_4" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:42px; margin-top:5868px; line-height:15px; white-space:nowrap">\r
824 \83\81\83\82\92 \82ð\8bN\93®\82µ\82Ä\81A\95\8e\9a\82ð\93ü\97Í\82·\82é\83X\83N\83\8a\83v\83g</DIV>\r
825 <v:rect style="position:absolute; margin-left:34px; margin-top:5793px; width:328px; height:70px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
826 <DIV id="text29_5" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:42px; margin-top:5799px; line-height:15px; white-space:nowrap">\r
827 Set objShell = WScript.CreateObject("WScript.Shell")<BR/>\r
828 objShell.Run "notepad.exe"<BR/>\r
829 WScript.Sleep 500<BR/>\r
830 objShell.SendKeys "hello"</DIV>\r
831 <DIV id="text29_6" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:70px; margin-top:6151px; line-height:15px; white-space:nowrap">\r
832 \81¨ \83L\81[\83{\81[\83h</DIV>\r
833 <DIV id="text29_7" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:36px; margin-top:6151px; line-height:15px; white-space:nowrap">\r
834 \8aÖ\98A</DIV>\r
835 <DIV id="text29_8" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:24px; margin-top:5723px; line-height:15px; white-space:nowrap">\r
836 \83X\83N\83\8a\83v\83g\82©\82ç\83J\83\8c\83\93\83g\83E\83B\83\93\83h\83E\82É\83L\81[\83{\81[\83h\93ü\97Í\82ð\91\97\82é\82±\82Æ\82ª\82Å\82«\82Ü\82·\81B<BR/>\r
837 \82½\82¾\82µ\81ASleep \82ð\8eg\82Á\82Ä\81A\83^\83C\83~\83\93\83O\82É\8bC\82ð\82Â\82¯\82é\95K\97v\82ª\82 \82è\82Ü\82·\81B</DIV>\r
838 <DIV id="text29_9" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:37px; margin-top:6082px; line-height:15px; white-space:nowrap">\r
839 <A href="#WshShell_SendKeys">\r
840 \81¨ WshShell::SendKeys</A></DIV>\r
841 <v:rect style="position:absolute; margin-left:34px; margin-top:5921px; width:304px; height:85px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
842 <DIV id="text29_10" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:42px; margin-top:5927px; line-height:15px; white-space:nowrap">\r
843 Set&nbsp; sh = WScript.CreateObject("WScript.Shell") <BR/>\r
844 <BR/>\r
845 sh.AppActivate( "net Explorer" )&nbsp; '(*1)<BR/>\r
846 WScript.Sleep 500<BR/>\r
847 sh.SendKeys "%F"</DIV>\r
848 <DIV id="text29_11" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:42px; margin-top:6036px; line-height:15px; white-space:nowrap">\r
849 (*1) \83^\83C\83g\83\8b\81i\91O\95û\88ê\92v\82Ü\82½\82Í\8cã\95û\88ê\92v\82Ì\95\94\95ª\95\8e\9a\97ñ\81j</DIV>\r
850 <DIV id="text29_12" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:42px; margin-top:6013px; line-height:15px; white-space:nowrap">\r
851 IE \82ð\83A\83N\83e\83B\83u\82É\82µ\82Ä\81A[\83t\83@\83C\83\8b\83\81\83j\83\85\82¤\81[\82ð\91I\91ð\82·\82é\83X\83N\83\8a\83v\83g</DIV>\r
852 <DIV id="text29_13" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:170px; margin-top:6151px; line-height:15px; white-space:nowrap">\r
853 \81¨ SendInput</DIV>\r
854 \r
855 <v:line from="0,5664" to="519,5664"/>\r
856 <v:line from="519,5664" to="519,6201"/>\r
857 <v:line from="519,6201" to="0,6201"/>\r
858 <v:line from="0,6201" to="0,5664"/>\r
859 \r
860 </PAGE>\r
861  \r
862 <!-- page 30 --> \r
863 <PAGE>\r
864 <A id="svgcats_vml_p30" class="to_tree" style="margin-top:6206px;" onClick="selectTreeElem( '30' );">\81©</A>\r
865 <A href="#svgcats_vml_p31" class="to_next_page" style="margin-top:6206px;">\81¥</A>\r
866 <A href="#svgcats_vml_p29" class="to_prev_page" style="margin-top:6206px;">\81£</A>\r
867 <v:rect style="position:absolute; margin-left:0px; margin-top:6217px; width:525px; height:428px;" fillcolor="white"/>\r
868 <DIV id="text30_1" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:24px; margin-top:6234px; line-height:15px; white-space:nowrap">\r
869 <A name="WshShell_SendKeys">\r
870 WshShell::SendKeys</A></DIV>\r
871 <v:rect style="position:absolute; margin-left:32px; margin-top:6266px; width:262px; height:25px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
872 <DIV id="text30_2" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:40px; margin-top:6273px; line-height:13px; white-space:nowrap">\r
873 Sub&nbsp; WshShell::SendKeys( keys as string )</DIV>\r
874 <DIV id="text30_3" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:40px; margin-top:6303px; line-height:15px; white-space:nowrap">\r
875 \83L\81[\83{\81[\83h\91\80\8dì\82ð\83G\83~\83\85\83\8c\81[\83V\83\87\83\93\82µ\82Ü\82·\81B</DIV>\r
876 <DIV id="text30_4" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:40px; margin-top:6329px; line-height:15px; white-space:nowrap">\r
877 \81y\88ø\90\94\81z</DIV>\r
878 <DIV id="text30_5" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:111px; margin-top:6329px; line-height:15px; white-space:nowrap">\r
879 keys</DIV>\r
880 <DIV id="text30_6" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:167px; margin-top:6329px; line-height:15px; white-space:nowrap">\r
881 \83A\83N\83e\83B\83u\83E\83B\83\93\83h\83E\82É\91\97\90M\82·\82é\83L\81[\82Ì\93à\97e</DIV>\r
882 <DIV id="text30_7" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:196px; margin-top:6234px; line-height:15px; white-space:nowrap">\r
883 <A href="http://msdn.microsoft.com/library/ja/default.asp?url=/library/ja/script56/html/wsmthsendkeys.asp" target="_blank">\r
884 (Web)</A></DIV>\r
885 <DIV id="text30_8" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:63px; margin-top:6434px; line-height:13px; white-space:nowrap">\r
886 "+(EC)"</DIV>\r
887 <DIV id="text30_9" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:127px; margin-top:6432px; line-height:15px; white-space:nowrap">\r
888 \83V\83t\83g\83L\81[\82ð\89\9f\82µ\82È\82ª\82ç\81AE\81AC</DIV>\r
889 <DIV id="text30_10" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:63px; margin-top:6413px; line-height:13px; white-space:nowrap">\r
890 "+EC"</DIV>\r
891 <DIV id="text30_11" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:127px; margin-top:6412px; line-height:15px; white-space:nowrap">\r
892 \83V\83t\83g\83L\81[\82ð\89\9f\82µ\82È\82ª\82ç\81AE\81A\83V\83t\83g\83L\81[\82ð\97£\82µ\82Ä\81AC</DIV>\r
893 <DIV id="text30_12" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:63px; margin-top:6466px; line-height:13px; white-space:nowrap">\r
894 "^C"</DIV>\r
895 <DIV id="text30_13" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:127px; margin-top:6464px; line-height:15px; white-space:nowrap">\r
896 \83R\83\93\83g\83\8d\81[\83\8b\83L\81[\82ð\89\9f\82µ\82È\82ª\82ç C</DIV>\r
897 <DIV id="text30_14" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:63px; margin-top:6498px; line-height:13px; white-space:nowrap">\r
898 "%FS"</DIV>\r
899 <DIV id="text30_15" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:127px; margin-top:6496px; line-height:15px; white-space:nowrap">\r
900 Alt \83L\81[\82ð\89\9f\82µ\82È\82ª\82ç F\81A\97£\82µ\82Ä S</DIV>\r
901 <DIV id="text30_16" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:63px; margin-top:6530px; line-height:13px; white-space:nowrap">\r
902 "{ENTER}"</DIV>\r
903 <DIV id="text30_17" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:63px; margin-top:6553px; line-height:13px; white-space:nowrap">\r
904 "{ESC}"</DIV>\r
905 <DIV id="text30_18" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:63px; margin-top:6576px; line-height:13px; white-space:nowrap">\r
906 "{TAB}"</DIV>\r
907 <DIV id="text30_19" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:63px; margin-top:6599px; line-height:13px; white-space:nowrap">\r
908 " " \81i\8bó\94\92\95\8e\9a\81j</DIV>\r
909 <DIV id="text30_20" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#408080; margin-left:40px; margin-top:6383px; line-height:15px; white-space:nowrap">\r
910 keys \82É\90Ý\92è\82·\82é\92l\82Ì\97á\81F</DIV>\r
911 \r
912 <v:line from="0,6217" to="525,6217"/>\r
913 <v:line from="525,6217" to="525,6645"/>\r
914 <v:line from="525,6645" to="0,6645"/>\r
915 <v:line from="0,6645" to="0,6217"/>\r
916 \r
917 </PAGE>\r
918  \r
919 <!-- page 31 --> \r
920 <PAGE>\r
921 <A id="svgcats_vml_p31" class="to_tree" style="margin-top:6650px;" onClick="selectTreeElem( '31' );">\81©</A>\r
922 <A href="#svgcats_vml_p32" class="to_next_page" style="margin-top:6650px;">\81¥</A>\r
923 <A href="#svgcats_vml_p30" class="to_prev_page" style="margin-top:6650px;">\81£</A>\r
924 <v:rect style="position:absolute; margin-left:0px; margin-top:6661px; width:578px; height:844px;" fillcolor="white"/>\r
925 <DIV id="text31_1" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:24px; margin-top:6678px; line-height:15px; white-space:nowrap">\r
926 <A name="beep">\r
927 \89¹\82ð\96Â\82ç\82·</A></DIV>\r
928 <v:rect style="position:absolute; margin-left:32px; margin-top:6959px; width:514px; height:100px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
929 <DIV id="text31_2" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:40px; margin-top:6965px; line-height:15px; white-space:nowrap">\r
930 Dim g_sh : Set&nbsp; g_sh = WScript.CreateObject( "WScript.Shell" )<BR/>\r
931 <BR/>\r
932 Dim&nbsp; player : Set player = CreateObject( "MediaPlayer.MediaPlayer" )<BR/>\r
933 player.FileName = g_sh.ExpandEnvironmentStrings( "%windir%\Media\tada.wav" )<BR/>\r
934 player.Play<BR/>\r
935 While player.PlayState &lt;&gt; 0 : WScript.Sleep&nbsp; 300 : WEnd '// Wait for finish to play</DIV>\r
936 <DIV id="text31_3" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:24px; margin-top:7157px; line-height:15px; white-space:nowrap">\r
937 <A name="systemsound">\r
938 \83V\83X\83e\83\80\82Ì\8cx\8d\90\89¹\82ð\96Â\82ç\82·</A></DIV>\r
939 <DIV id="text31_4" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:82px; margin-top:7438px; line-height:15px; white-space:nowrap">\r
940 \81¨ \83V\83X\83e\83\80\82Ì\8cx\8d\90\89¹ (SystemSound)</DIV>\r
941 <DIV id="text31_5" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#408080; font-weight: bold; margin-left:41px; margin-top:7438px; line-height:15px; white-space:nowrap">\r
942 \8eQ\8dl</DIV>\r
943 <DIV id="text31_6" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:82px; margin-top:7072px; line-height:15px; white-space:nowrap">\r
944 \81¨ \8cø\89Ê\89¹\82â\8bÈ\82ð\96Â\82ç\82· (SoundPlayer)</DIV>\r
945 <DIV id="text31_7" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#408080; font-weight: bold; margin-left:40px; margin-top:7072px; line-height:15px; white-space:nowrap">\r
946 \8eQ\8dl</DIV>\r
947 <v:rect style="position:absolute; margin-left:32px; margin-top:7186px; width:502px; height:235px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
948 <DIV id="text31_8" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:40px; margin-top:7192px; line-height:15px; white-space:nowrap">\r
949 Dim g_sh : Set&nbsp; g_sh = WScript.CreateObject( "WScript.Shell" )<BR/>\r
950 <BR/>\r
951 SystemSound ".Default"<BR/>\r
952 <BR/>\r
953 Sub&nbsp; SystemSound( Sound )<BR/>\r
954 &nbsp; Dim player : Set player = CreateObject( "WMPlayer.OCX" )<BR/>\r
955 &nbsp; player.Settings.Volume = 100<BR/>\r
956 &nbsp; player.URL = g_sh.ExpandEnvironmentStrings( g_sh.RegRead( _<BR/>\r
957 &nbsp; &nbsp; "HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\"+ Sound +"\.Current\" ) )<BR/>\r
958 &nbsp; player.Controls.Play<BR/>\r
959 &nbsp; While player.PlayState &lt;&gt; 1&nbsp; '// Wait for finish to play<BR/>\r
960 &nbsp; &nbsp; WScript.Sleep&nbsp; 300<BR/>\r
961 &nbsp; &nbsp; If player.PlayState = 10 Then&nbsp; Err.Raise 1,, "This is not sound file."<BR/>\r
962 &nbsp; WEnd<BR/>\r
963 End Sub</DIV>\r
964 <DIV id="text31_9" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:116px; margin-top:6678px; line-height:15px; white-space:nowrap">\r
965 <A href="http://msdn.microsoft.com/ja-jp/library/cc410995.aspx" target="_blank">\r
966 (Web)</A></DIV>\r
967 <v:rect style="position:absolute; margin-left:32px; margin-top:6765px; width:448px; height:160px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
968 <DIV id="text31_10" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:40px; margin-top:6771px; line-height:15px; white-space:nowrap">\r
969 Dim g_sh : Set&nbsp; g_sh = WScript.CreateObject( "WScript.Shell" )<BR/>\r
970 <BR/>\r
971 Dim&nbsp; player : Set player = CreateObject( "WMPlayer.OCX" )<BR/>\r
972 player.Settings.Volume = 100<BR/>\r
973 player.URL = g_sh.ExpandEnvironmentStrings( "%windir%\Media\tada.wav" )<BR/>\r
974 player.Controls.Play<BR/>\r
975 While player.PlayState &lt;&gt; 1&nbsp; '// Wait for finish to play<BR/>\r
976 &nbsp; WScript.Sleep&nbsp; 300<BR/>\r
977 &nbsp; If player.PlayState = 10 Then&nbsp; Err.Raise 1,, "This is not sound file."<BR/>\r
978 WEnd</DIV>\r
979 <DIV id="text31_11" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:24px; margin-top:6939px; line-height:15px; white-space:nowrap">\r
980 \81i\8eQ\8dl\81\89º\8bL\82Í\81APlay \82Å\83G\83\89\81[\82É\82È\82é\8fê\8d\87\82ª\82 \82è\82Ü\82·\81B</DIV>\r
981 <DIV id="text31_12" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:24px; margin-top:6742px; line-height:15px; white-space:nowrap">\r
982 \83\81\83f\83B\83A\83v\83\8c\83C\83\84\81[ 7 \88È\8d~\82ª\95K\97v</DIV>\r
983 <DIV id="text31_13" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:82px; margin-top:7456px; line-height:15px; white-space:nowrap">\r
984 <A href="..\vbslib.files\vbslib_05.html#SystemSound">\r
985 \81¨ SystemSound (vbslib)</A></DIV>\r
986 <DIV id="text31_14" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:82px; margin-top:7092px; line-height:15px; white-space:nowrap">\r
987 <A href="..\vbslib.files\vbslib_05.html#Play">\r
988 \81¨ Play (vbslib)</A></DIV>\r
989 <DIV id="text31_15" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:24px; margin-top:6711px; line-height:15px; white-space:nowrap">\r
990 \83\81\83f\83B\83A\83v\83\8c\83C\83\84\81[\82Ì ActiveX \82ð\8eg\82¢\82Ü\82·\81B</DIV>\r
991 \r
992 <v:line from="0,6661" to="578,6661"/>\r
993 <v:line from="578,6661" to="578,7505"/>\r
994 <v:line from="578,7505" to="0,7505"/>\r
995 <v:line from="0,7505" to="0,6661"/>\r
996 \r
997 </PAGE>\r
998  \r
999 <!-- page 32 --> \r
1000 <PAGE>\r
1001 <A id="svgcats_vml_p32" class="to_tree" style="margin-top:7510px;" onClick="selectTreeElem( '32' );">\81©</A>\r
1002 <A href="#svgcats_vml_p33" class="to_next_page" style="margin-top:7510px;">\81¥</A>\r
1003 <A href="#svgcats_vml_p31" class="to_prev_page" style="margin-top:7510px;">\81£</A>\r
1004 <v:rect style="position:absolute; margin-left:0px; margin-top:7521px; width:505px; height:283px;" fillcolor="white"/>\r
1005 <DIV id="text32_1" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:24px; margin-top:7538px; line-height:15px; white-space:nowrap">\r
1006 <A name="simple_test">\r
1007 \83e\83X\83g</A></DIV>\r
1008 <v:rect style="position:absolute; margin-left:49px; margin-top:7612px; width:244px; height:55px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
1009 <DIV id="text32_2" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:57px; margin-top:7618px; line-height:15px; white-space:nowrap">\r
1010 &nbsp; If ... Then&nbsp; WScript.Quit 1&nbsp; ' Error<BR/>\r
1011 <BR/>\r
1012 &nbsp; WScript.Echo "Pass."</DIV>\r
1013 <DIV id="text32_3" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:67px; margin-top:7756px; line-height:15px; white-space:nowrap">\r
1014 <A href="..\dos_batch.files\dos_batch_01.html#FCBat">\r
1015 \81¨ FCBat \81i\83o\83b\83`\83t\83@\83C\83\8b\82É\82æ\82é\95W\8f\80\8fo\97Í\83`\83F\83b\83N\81j</A></DIV>\r
1016 <DIV id="text32_4" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:24px; margin-top:7572px; line-height:15px; white-space:nowrap">\r
1017 \92P\8f\83\82È\83e\83X\83g\83X\83N\83\8a\83v\83g\82Í\81A\8e\9f\82Ì\82æ\82¤\82É\8bL\8fq\82µ\81A\95W\8f\80\8fo\97Í\82ð\94ä\8ar\82·\82é\82±\82Æ\82Å\81A<BR/>\r
1018 \83e\83X\83g\82ª\90³\8fí\82©\82Ç\82¤\82©\82ð\94»\92è\82µ\82Ü\82·\81B</DIV>\r
1019 <DIV id="text32_5" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:24px; margin-top:7735px; line-height:15px; white-space:nowrap">\r
1020 \8aÖ\98A</DIV>\r
1021 <DIV id="text32_6" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:67px; margin-top:7735px; line-height:15px; white-space:nowrap">\r
1022 <A href="..\vbslib.files\vbslib_22.html#test_prompt">\r
1023 \81¨ \83e\83X\83g\81E\83v\83\8d\83\93\83v\83g (Test.vbs) (vbslib)</A></DIV>\r
1024 <DIV id="text32_7" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:24px; margin-top:7692px; line-height:15px; white-space:nowrap">\r
1025 \82½\82¾\82µ\81A\83e\83X\83g\8d\80\96Ú\82ª\91½\82­\82È\82Á\82Ä\82­\82é\82Æ\91å\95Ï\82È\82Ì\82Å\81Avbslib \82É\83e\83X\83g\82ð\8e©\93®\89»\82Å\82«\82é<BR/>\r
1026 \83c\81[\83\8b\82ª\97p\88Ó\82³\82ê\82Ä\82¢\82Ü\82·\81B</DIV>\r
1027 \r
1028 <v:line from="0,7521" to="505,7521"/>\r
1029 <v:line from="505,7521" to="505,7804"/>\r
1030 <v:line from="505,7804" to="0,7804"/>\r
1031 <v:line from="0,7804" to="0,7521"/>\r
1032 \r
1033 </PAGE>\r
1034  \r
1035 <!-- page 33 --> \r
1036 <PAGE>\r
1037 <A id="svgcats_vml_p33" class="to_tree" style="margin-top:7809px;" onClick="selectTreeElem( '33' );">\81©</A>\r
1038 <A href="#svgcats_vml_p34" class="to_next_page" style="margin-top:7809px;">\81¥</A>\r
1039 <A href="#svgcats_vml_p32" class="to_prev_page" style="margin-top:7809px;">\81£</A>\r
1040 <v:rect style="position:absolute; margin-left:0px; margin-top:7820px; width:494px; height:467px;" fillcolor="white"/>\r
1041 <DIV id="text33_1" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:19px; margin-top:7837px; line-height:15px; white-space:nowrap">\r
1042 <A name="run">\r
1043 \83v\83\8d\83O\83\89\83\80\8bN\93®</A></DIV>\r
1044 <DIV id="text33_2" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:35px; margin-top:8099px; line-height:15px; white-space:nowrap">\r
1045 <A href="vbs_memo_03.html#start_wsh">\r
1046 \81¨ WSH\82ð\8bN\93®\82·\82é</A></DIV>\r
1047 <DIV id="text33_3" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:35px; margin-top:8117px; line-height:15px; white-space:nowrap">\r
1048 <A href="vbs_memo_03.html#start_exe">\r
1049 \81¨ \83\81\83\82\92 \82ð\8bN\93®\82·\82é\81i.exe \83v\83\8d\83O\83\89\83\80\82Ì\8bN\93®\81j</A></DIV>\r
1050 <DIV id="text33_4" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:35px; margin-top:8136px; line-height:15px; white-space:nowrap">\r
1051 <A href="vbs_memo_03.html#start_wsh2">\r
1052 \81¨ \95Ê\82Ì\83X\83N\83\8a\83v\83g\82ð\8cÄ\82Ñ\8fo\82·</A></DIV>\r
1053 <DIV id="text33_5" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:35px; margin-top:7977px; line-height:15px; white-space:nowrap">\r
1054 <A href="#param">\r
1055 \81¨ \83p\83\89\83\81\81[\83\81i\83R\83}\83\93\83h\83\89\83C\83\93\81j</A></DIV>\r
1056 <DIV id="text33_6" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:35px; margin-top:8155px; line-height:15px; white-space:nowrap">\r
1057 <A href="vbs_memo_03.html#inc_wsf">\r
1058 \81¨ \95Ê\82Ì\83X\83N\83\8a\83v\83g\82ð\83C\83\93\83N\83\8b\81[\83h\82·\82é\81iWSF\83t\83@\83C\83\8b\81j</A></DIV>\r
1059 <DIV id="text33_7" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:35px; margin-top:8174px; line-height:15px; white-space:nowrap">\r
1060 <A href="vbs_memo_03.html#include">\r
1061 \81¨ \95Ê\82Ì\83X\83N\83\8a\83v\83g\82ð\83C\83\93\83N\83\8b\81[\83h\82·\82é\81iExecute\81j</A></DIV>\r
1062 <DIV id="text33_8" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:35px; margin-top:7903px; line-height:15px; white-space:nowrap">\r
1063 <A href="#WScript_Shell_Run">\r
1064 \81¨ WScript.Shell::Run</A></DIV>\r
1065 <DIV id="text33_9" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:35px; margin-top:7922px; line-height:15px; white-space:nowrap">\r
1066 <A href="#WScript_Shell_Exec">\r
1067 \81¨ WScript.Shell::Exec</A></DIV>\r
1068 <DIV id="text33_10" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:35px; margin-top:8039px; line-height:15px; white-space:nowrap">\r
1069 <A href="vbs_memo_03.html#must_cscript">\r
1070 \81¨ \8fí\82É cscript.exe \82Å\8eÀ\8ds\82·\82é \81i\83R\83}\83\93\83h\83v\83\8d\83\93\83v\83g\82ð\8fo\82·\81j</A></DIV>\r
1071 <DIV id="text33_11" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:35px; margin-top:7958px; line-height:15px; white-space:nowrap">\r
1072 <A href="#drop_vbs">\r
1073 \81¨ VBS\83t\83@\83C\83\8b\82É\83h\83\89\83b\83O\81\95\83h\83\8d\83b\83v</A></DIV>\r
1074 <DIV id="text33_12" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:35px; margin-top:7996px; line-height:15px; white-space:nowrap">\r
1075 <A href="vbs_memo_03.html#errorlevel">\r
1076 \81¨ \8fI\97¹\81A\95Ô\82è\92l\81i\83G\83\89\81[\83\8c\83x\83\8b\81j\82ð\8ew\92è\82·\82é</A></DIV>\r
1077 <DIV id="text33_13" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:35px; margin-top:8193px; line-height:15px; white-space:nowrap">\r
1078 <A href="vbs_memo_03.html#envi">\r
1079 \81¨ \8aÂ\8b«\95Ï\90\94\82ð\8eæ\93¾\82·\82é</A></DIV>\r
1080 <DIV id="text33_14" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:35px; margin-top:8239px; line-height:15px; white-space:nowrap">\r
1081 \8aÖ\98A</DIV>\r
1082 <DIV id="text33_15" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:83px; margin-top:8239px; line-height:15px; white-space:nowrap">\r
1083 <A href="..\vbslib.files\vbslib_19.html#RunProg">\r
1084 \81¨ RunProg (vbslib)</A></DIV>\r
1085 <DIV id="text33_16" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:35px; margin-top:8079px; line-height:15px; white-space:nowrap">\r
1086 <A href="vbs_memo_03.html#run_with_opt">\r
1087 \81¨ \95Ê\82Ì\83X\83N\83\8a\83v\83g\82ð\81A\83I\83v\83V\83\87\83\93\95t\82«\82Å\8bN\93®\82·\82é</A></DIV>\r
1088 <DIV id="text33_17" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:35px; margin-top:8059px; line-height:15px; white-space:nowrap">\r
1089 <A href="vbs_memo_03.html#set_cscript">\r
1090 \81¨ vbs \83t\83@\83C\83\8b\82ð cscript.exe \82Å\8bN\93®\82·\82é\82æ\82¤\82É\83G\83N\83X\83v\83\8d\81[\83\89\81[\82ð\90Ý\92è\82·\82é</A></DIV>\r
1091 <DIV id="text33_18" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:35px; margin-top:7875px; line-height:15px; white-space:nowrap">\r
1092 <A href="#wow64">\r
1093 \81¨ 32\83r\83b\83gWindows \82Æ 64\83r\83b\83g Windows \82Ì WSH (WOW64)</A></DIV>\r
1094 \r
1095 <v:line from="0,7820" to="494,7820"/>\r
1096 <v:line from="494,7820" to="494,8287"/>\r
1097 <v:line from="494,8287" to="0,8287"/>\r
1098 <v:line from="0,8287" to="0,7820"/>\r
1099 \r
1100 </PAGE>\r
1101  \r
1102 <!-- page 34 --> \r
1103 <PAGE>\r
1104 <A id="svgcats_vml_p34" class="to_tree" style="margin-top:8292px;" onClick="selectTreeElem( '34' );">\81©</A>\r
1105 <A href="#svgcats_vml_p35" class="to_next_page" style="margin-top:8292px;">\81¥</A>\r
1106 <A href="#svgcats_vml_p33" class="to_prev_page" style="margin-top:8292px;">\81£</A>\r
1107 <v:rect style="position:absolute; margin-left:0px; margin-top:8303px; width:616px; height:307px;" fillcolor="white"/>\r
1108 <DIV id="text34_1" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:24px; margin-top:8320px; line-height:15px; white-space:nowrap">\r
1109 <A name="wow64">\r
1110 32\83r\83b\83gWindows \82Æ 64\83r\83b\83gWindows \82Ì WSH</A></DIV>\r
1111 <DIV id="text34_2" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:24px; margin-top:8356px; line-height:15px; white-space:nowrap">\r
1112 64\83r\83b\83gWindows \82É\82Í\81A32\83r\83b\83gWSH \82Æ 64\83r\83b\83gWSH \82Ì\82Q\8eí\97Þ\82ª\93ü\82Á\82Ä\82¢\82Ü\82·\81B</DIV>\r
1113 <DIV id="text34_3" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:45px; margin-top:8421px; line-height:15px; white-space:nowrap">\r
1114 64\83r\83b\83gWSH</DIV>\r
1115 <DIV id="text34_4" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:167px; margin-top:8393px; line-height:15px; white-space:nowrap">\r
1116 64\83r\83b\83gWindows</DIV>\r
1117 <DIV id="text34_5" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:374px; margin-top:8393px; line-height:15px; white-space:nowrap">\r
1118 32\83r\83b\83gWindows</DIV>\r
1119 <v:line style="position:absolute;" from="28,8411" to="584,8411" strokecolor="#000000" strokeweight="1pt"/>\r
1120 <DIV id="text34_7" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:45px; margin-top:8442px; line-height:15px; white-space:nowrap">\r
1121 32\83r\83b\83gWSH</DIV>\r
1122 <DIV id="text34_8" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:167px; margin-top:8423px; line-height:13px; white-space:nowrap">\r
1123 %windir%\System32\cscript.exe</DIV>\r
1124 <DIV id="text34_9" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:167px; margin-top:8444px; line-height:13px; white-space:nowrap">\r
1125 %windir%\SysWOW64\cscript.exe</DIV>\r
1126 <DIV id="text34_10" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:374px; margin-top:8444px; line-height:13px; white-space:nowrap">\r
1127 %windir%\System32\cscript.exe</DIV>\r
1128 <DIV id="text34_11" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:374px; margin-top:8423px; line-height:13px; white-space:nowrap">\r
1129 -</DIV>\r
1130 <DIV id="text34_12" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:68px; margin-top:8522px; line-height:15px; white-space:nowrap">\r
1131 \81¨ [x64] 64\83r\83b\83gWindows (WOW64)</DIV>\r
1132 <DIV id="text34_13" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#408080; font-weight: bold; margin-left:24px; margin-top:8522px; line-height:15px; white-space:nowrap">\r
1133 \8eQ\8dl</DIV>\r
1134 <DIV id="text34_14" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:30px; margin-top:8476px; line-height:15px; white-space:nowrap">\r
1135 wscript.exe \82à\93¯\97l\82Å\82·\81B</DIV>\r
1136 <DIV id="text34_15" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:68px; margin-top:8542px; line-height:15px; white-space:nowrap">\r
1137 <A href="..\vbslib.files\vbslib_28.html#g_is64bitWindows">\r
1138 \81¨ g_is64bitWindows (vbslib)</A></DIV>\r
1139 <DIV id="text34_16" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:68px; margin-top:8562px; line-height:15px; white-space:nowrap">\r
1140 <A href="..\vbslib.files\vbslib_28.html#g_is64bitWSH">\r
1141 \81¨ g_is64bitWSH (vbslib)</A></DIV>\r
1142 \r
1143 <v:line from="0,8303" to="616,8303"/>\r
1144 <v:line from="616,8303" to="616,8610"/>\r
1145 <v:line from="616,8610" to="0,8610"/>\r
1146 <v:line from="0,8610" to="0,8303"/>\r
1147 \r
1148 </PAGE>\r
1149  \r
1150 <!-- page 35 --> \r
1151 <PAGE>\r
1152 <A id="svgcats_vml_p35" class="to_tree" style="margin-top:8615px;" onClick="selectTreeElem( '35' );">\81©</A>\r
1153 <A href="#svgcats_vml_p36" class="to_next_page" style="margin-top:8615px;">\81¥</A>\r
1154 <A href="#svgcats_vml_p34" class="to_prev_page" style="margin-top:8615px;">\81£</A>\r
1155 <v:rect style="position:absolute; margin-left:0px; margin-top:8626px; width:659px; height:384px;" fillcolor="white"/>\r
1156 <DIV id="text35_1" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:24px; margin-top:8643px; line-height:15px; white-space:nowrap">\r
1157 <A name="drop_vbs">\r
1158 VBS\83t\83@\83C\83\8b\82É\83h\83\89\83b\83O\81\95\83h\83\8d\83b\83v</A></DIV>\r
1159 <v:rect style="position:absolute; margin-left:23px; margin-top:8709px; width:604px; height:220px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
1160 <DIV id="text35_2" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:31px; margin-top:8715px; line-height:15px; white-space:nowrap">\r
1161 Dim g_fs : Set g_fs = WScript.CreateObject( "Scripting.FileSystemObject" )<BR/>\r
1162 Dim path<BR/>\r
1163 <BR/>\r
1164 If WScript.Arguments.Unnamed.Count &lt;= 0 Then&nbsp; path = "" _<BR/>\r
1165 Else&nbsp; path = WScript.Arguments.Unnamed(0)<BR/>\r
1166 If path = "" Then WScript.Echo "\95Ï\8a·\82·\82é\83t\83@\83C\83\8b\82ð\83h\83\89\83b\83O\81\95\83h\83\8d\83b\83v\82µ\82Ä\82­\82¾\82³\82¢\81B":WScript.Quit 1<BR/>\r
1167 <BR/>\r
1168 cd&nbsp; g_fs.GetParentFolderName( WScript.ScriptFullName ) '// change from system32 folder<BR/>\r
1169 <BR/>\r
1170 Dim out_path<BR/>\r
1171 out_path = g_fs.GetParentFolderName( path ) +"\"+ g_fs.GetBaseName( path ) +"_replaced.xml"<BR/>\r
1172 <BR/>\r
1173 Dim r : Set r = g_fs.OpenTextFile( path )<BR/>\r
1174 Dim w : Set w = g_fs.CreateTextFile( out_path, False, True )</DIV>\r
1175 <DIV id="text35_3" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:24px; margin-top:8677px; line-height:15px; white-space:nowrap">\r
1176 \89º\8bL\82Ì\83X\83N\83\8a\83v\83g\82Å\81Apath \82É\83h\83\8d\83b\83v\82µ\82½\83t\83@\83C\83\8b\82Ì\90â\91Î\83p\83X\82ª\93ü\82è\82Ü\82·\81B</DIV>\r
1177 <DIV id="text35_4" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:31px; margin-top:8947px; line-height:15px; white-space:nowrap">\r
1178 \83h\83\89\83b\83O\81\95\83h\83\8d\83b\83v\82·\82é\82Æ\81A\83J\83\8c\83\93\83g\83t\83H\83\8b\83_\82ª\81AC:\Windows\System32 \82É\82È\82è\8aë\8c¯\82È\82Ì\82Å\81A\8fã\8bL\82Ì\82æ\82¤\82É<BR/>\r
1179 \83h\83\8d\83b\83v\82µ\82½\83t\83@\83C\83\8b\82ª\93ü\82Á\82Ä\82¢\82é\83t\83H\83\8b\83_\82ð\81A\83J\83\8c\83\93\83g\83t\83H\83\8b\83_\82É\82µ\82Ü\82·\81B</DIV>\r
1180 \r
1181 <v:line from="0,8626" to="659,8626"/>\r
1182 <v:line from="659,8626" to="659,9010"/>\r
1183 <v:line from="659,9010" to="0,9010"/>\r
1184 <v:line from="0,9010" to="0,8626"/>\r
1185 \r
1186 </PAGE>\r
1187  \r
1188 <!-- page 36 --> \r
1189 <PAGE>\r
1190 <A id="svgcats_vml_p36" class="to_tree" style="margin-top:9015px;" onClick="selectTreeElem( '36' );">\81©</A>\r
1191 <A href="vbs_memo_03.html#svgcats_vml_p37" class="to_next_page" style="margin-top:9015px;">\81¥</A>\r
1192 <A href="#svgcats_vml_p35" class="to_prev_page" style="margin-top:9015px;">\81£</A>\r
1193 <v:rect style="position:absolute; margin-left:0px; margin-top:9026px; width:628px; height:1722px;" fillcolor="white"/>\r
1194 <DIV id="text36_1" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:17px; margin-top:9248px; line-height:15px; white-space:nowrap">\r
1195 <A name="getparam">\r
1196 \83p\83\89\83\81\81[\83^\82ð\8eæ\93¾\82·\82é</A></DIV>\r
1197 <v:rect style="position:absolute; margin-left:48px; margin-top:9145px; width:232px; height:25px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
1198 <DIV id="text36_2" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:56px; margin-top:9152px; line-height:13px; white-space:nowrap">\r
1199 CScript sample.vbs param0 param1 ...</DIV>\r
1200 <DIV id="text36_3" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:31px; margin-top:9115px; line-height:15px; white-space:nowrap">\r
1201 \83R\83}\83\93\83h\83v\83\8d\83\93\83v\83g\82©\82ç\83X\83N\83\8a\83v\83g\82É\91Î\82µ\82Ä\83p\83\89\83\81\81[\83^\82ð\93n\82·\82±\82Æ\82ª\82Å\82«\82Ü\82·\81B</DIV>\r
1202 <DIV id="text36_4" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:17px; margin-top:9044px; line-height:15px; white-space:nowrap">\r
1203 <A name="param">\r
1204 \83p\83\89\83\81\81[\83\81i\83R\83}\83\93\83h\83\89\83C\83\93\81j, Arguments, args</A></DIV>\r
1205 <DIV id="text36_5" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:31px; margin-top:9192px; line-height:15px; white-space:nowrap">\r
1206 \83X\83N\83\8a\83v\83g\83t\83@\83C\83\8b\82É\83h\83\89\83b\83O\81\95\83h\83\8d\83b\83v\82µ\82½\82ç\81A\83h\83\8d\83b\83v\82µ\82½\83t\83@\83C\83\8b\83p\83X\82ª\83p\83\89\83\81\81[\83^\82É\82È\82è\82Ü\82·\81B</DIV>\r
1207 <DIV id="text36_6" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:194px; margin-top:9248px; line-height:15px; white-space:nowrap">\r
1208 <A href="http://msdn.microsoft.com/library/ja/script56/html/wsobjWshArguments.asp" target="_blank">\r
1209 (Web)</A></DIV>\r
1210 <v:rect style="position:absolute; margin-left:48px; margin-top:9868px; width:238px; height:25px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
1211 <DIV id="text36_7" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:56px; margin-top:9875px; line-height:13px; white-space:nowrap">\r
1212 WScript.Arguments.Named.Item("debug")</DIV>\r
1213 <v:rect style="position:absolute; margin-left:86px; margin-top:9944px; width:184px; height:25px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
1214 <DIV id="text36_8" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:94px; margin-top:9951px; line-height:13px; white-space:nowrap">\r
1215 cscript script.vbs /debug:1 </DIV>\r
1216 <DIV id="text36_9" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:55px; margin-top:10700px; line-height:15px; white-space:nowrap">\r
1217 <A href="http://www.atmarkit.co.jp/fwin2k/win2ktips/509wsharg/wsharg.html" target="_blank">\r
1218 \81¨ \81\97IT\81FWindows TIPS -- Tips\81FWSH\82Å\96¼\91O\95t\82«\88ø\90\94\82Æ\96¼\91O\82È\82µ\88ø\90\94\82ð\88µ\82¤ (Web)</A></DIV>\r
1219 <DIV id="text36_10" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:80px; margin-top:9901px; line-height:15px; white-space:nowrap">\r
1220 \96¼\91O\95t\82«\88ø\90\94\82Ì\92l\82ð\8eQ\8fÆ\82·\82é</DIV>\r
1221 <DIV id="text36_11" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:296px; margin-top:9949px; line-height:15px; white-space:nowrap">\r
1222 \96¼\91O\95t\82«\88ø\90\94\82Ì\8ew\92è\95û\96@</DIV>\r
1223 <DIV id="text36_12" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:80px; margin-top:9917px; line-height:15px; white-space:nowrap">\r
1224 \8aY\93\96\82·\82é\96¼\91O\82Ì\88ø\90\94\82ª\82È\82¢\82Æ\82«\82Í\81AEmpty \82ð\95Ô\82µ\82Ü\82·\81B</DIV>\r
1225 <DIV id="text36_13" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:17px; margin-top:9085px; line-height:15px; white-space:nowrap">\r
1226 \83p\83\89\83\81\81[\83^\82ð\93n\82·</DIV>\r
1227 <DIV id="text36_14" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:44px; margin-top:9844px; line-height:15px; white-space:nowrap">\r
1228 <A name="Arguments_Named">\r
1229 \96¼\91O\95t\82«\88ø\90\94\81i\83I\83v\83V\83\87\83\93\81j</A></DIV>\r
1230 <DIV id="text36_15" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:45px; margin-top:9389px; line-height:15px; white-space:nowrap">\r
1231 <A name="Arguments_Unnamed">\r
1232 \96¼\91O\82È\82µ\88ø\90\94\81i\83I\83v\83V\83\87\83\93\88È\8aO\81j</A></DIV>\r
1233 <v:rect style="position:absolute; margin-left:48px; margin-top:9452px; width:442px; height:115px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
1234 <DIV id="text36_16" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:56px; margin-top:9458px; line-height:15px; white-space:nowrap">\r
1235 &nbsp; Dim&nbsp; args : Set args = WScript.Arguments.Unnamed<BR/>\r
1236 <BR/>\r
1237 &nbsp; If args.Count = 0 Then&nbsp; Err.Raise 1,,"\83t\83@\83C\83\8b\82ð\83h\83\8d\83b\83v\82µ\82Ä\82­\82¾\82³\82¢"<BR/>\r
1238 <BR/>\r
1239 &nbsp; For i = 0 to args.Count - 1<BR/>\r
1240 &nbsp; &nbsp; WScript.Echo args(i)<BR/>\r
1241 &nbsp; Next</DIV>\r
1242 <v:rect style="position:absolute; margin-left:48px; margin-top:10493px; width:184px; height:85px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
1243 <DIV id="text36_17" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:56px; margin-top:10499px; line-height:15px; white-space:nowrap">\r
1244 Set args = WScript.Arguments<BR/>\r
1245 <BR/>\r
1246 For i = 0 to args.Count - 1<BR/>\r
1247 &nbsp; WScript.Echo args(i)<BR/>\r
1248 Next</DIV>\r
1249 <DIV id="text36_18" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:255px; margin-top:10543px; line-height:15px; white-space:nowrap">\r
1250 args( 0 ) \82ª1\82Â\96Ú\82Ì\83p\83\89\83\81\81[\83^\82Å\82·\81B</DIV>\r
1251 <v:rect style="position:absolute; margin-left:48px; margin-top:10588px; width:232px; height:55px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
1252 <DIV id="text36_19" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:56px; margin-top:10594px; line-height:15px; white-space:nowrap">\r
1253 If WScript.Arguments.Count &gt;= 1 Then<BR/>\r
1254 &nbsp; s = WScript.Arguments(0)<BR/>\r
1255 End If</DIV>\r
1256 <DIV id="text36_20" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#008000; font-weight: bold; margin-left:45px; margin-top:10471px; line-height:15px; white-space:nowrap">\r
1257 <A name="Arguments_both">\r
1258 \82·\82×\82Ä\82Ì\88ø\90\94</A></DIV>\r
1259 <v:rect style="position:absolute; margin-left:86px; margin-top:9978px; width:256px; height:25px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
1260 <DIV id="text36_21" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:94px; margin-top:9985px; line-height:13px; white-space:nowrap">\r
1261 cscript script.vbs /path:"C:\Folder X\" </DIV>\r
1262 <DIV id="text36_22" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:364px; margin-top:9983px; line-height:15px; white-space:nowrap">\r
1263 "" \82Å\88Í\82Þ\82Æ\8bó\94\92\82ð\8aÜ\82ß\82é\82±\82Æ\82ª\82Å\82«\82Ü\82·</DIV>\r
1264 <v:rect style="position:absolute; margin-left:86px; margin-top:10012px; width:166px; height:25px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
1265 <DIV id="text36_23" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:94px; margin-top:10019px; line-height:13px; white-space:nowrap">\r
1266 cscript script.vbs /flag </DIV>\r
1267 <DIV id="text36_24" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:273px; margin-top:10017px; line-height:15px; white-space:nowrap">\r
1268 Empty \82ð\95Ô\82µ\82Ü\82·\81B\81i/flag \82ª\96³\82¢\82Æ\82«\82Æ\95Ï\82í\82è\82Ü\82¹\82ñ\81j<BR/>\r
1269 \89º\8bL\82Ì</DIV>\r
1270 <v:rect style="position:absolute; margin-left:48px; margin-top:10369px; width:418px; height:55px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
1271 <DIV id="text36_25" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:56px; margin-top:10375px; line-height:15px; white-space:nowrap">\r
1272 For Each key in WScript.Arguments.Named<BR/>\r
1273 &nbsp; WScript.Echo&nbsp; "/" + key + ":" + WScript.Arguments.Named.Item(key)<BR/>\r
1274 Next</DIV>\r
1275 <DIV id="text36_26" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#408080; margin-left:44px; margin-top:10346px; line-height:15px; white-space:nowrap">\r
1276 \96¼\91O\95t\82«\88ø\90\94\82Ì\96¼\91O\82Æ\92l\82ð\88ê\97\97\82µ\82Ü\82·\81B</DIV>\r
1277 <DIV id="text36_27" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:56px; margin-top:9673px; line-height:15px; white-space:nowrap">\r
1278 Unnamed( ) \82Ì\92\86\82Ì\90\94\92l\82ª\81A\83p\83\89\83\81\81[\83^\82Ì\90\94\88È\8fã\82Ì\82Æ\82«\82Í\81A<BR/>\r
1279 Err.Number = 9 \82Ì\83G\83\89\81[\82É\82È\82è\82Ü\82·\81B</DIV>\r
1280 <DIV id="text36_28" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:268px; margin-top:9422px; line-height:15px; white-space:nowrap">\r
1281 args( 0 ) \82ª1\82Â\96Ú\82Ì\83p\83\89\83\81\81[\83^\82Å\82·\81B</DIV>\r
1282 <DIV id="text36_29" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:56px; margin-top:10652px; line-height:15px; white-space:nowrap">\r
1283 Unnamed( ) \82Ì\92\86\82Ì\90\94\92l\82ª\81A\83p\83\89\83\81\81[\83^\82Ì\90\94\88È\8fã\82Ì\82Æ\82«\82Í\81A<BR/>\r
1284 Err.Number = 9 \82Ì\83G\83\89\81[\82É\82È\82è\82Ü\82·\81B</DIV>\r
1285 <v:rect style="position:absolute; margin-left:48px; margin-top:10179px; width:382px; height:115px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
1286 <DIV id="text36_30" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:56px; margin-top:10185px; line-height:15px; white-space:nowrap">\r
1287 Function&nbsp; ArgumentExist( name )<BR/>\r
1288 &nbsp; Dim&nbsp; key<BR/>\r
1289 &nbsp; For Each key in WScript.Arguments.Named<BR/>\r
1290 &nbsp; &nbsp; If key = name&nbsp; Then&nbsp; ArgumentExist = True : Exit Function<BR/>\r
1291 &nbsp; Next<BR/>\r
1292 &nbsp; ArgumentExist = False<BR/>\r
1293 End Function</DIV>\r
1294 <DIV id="text36_31" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#408080; margin-left:48px; margin-top:10158px; line-height:15px; white-space:nowrap">\r
1295 \83I\83v\83V\83\87\83\93\82ª\8ew\92è\82³\82ê\82½\82©\82Ç\82¤\82©\82Ì\94»\92è\81F</DIV>\r
1296 <DIV id="text36_32" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:71px; margin-top:10305px; line-height:15px; white-space:nowrap">\r
1297 \83p\83\89\83\81\81[\83^\82ª /flag:1 \82Å\82à /flag \82Å\82à ArgumentExist( "flag" ) \82Í\81ATrue \82ð\95Ô\82µ\82Ü\82·</DIV>\r
1298 <DIV id="text36_33" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:318px; margin-top:10032px; line-height:15px; white-space:nowrap">\r
1299 <A href="..\vbslib.files\vbslib_20.html#ArgumentExist">\r
1300 ArgumentExist</A></DIV>\r
1301 <DIV id="text36_34" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:405px; margin-top:10032px; line-height:15px; white-space:nowrap">\r
1302 \82Å\94»\92è\82Å\82«\82Ü\82·\81B</DIV>\r
1303 <DIV id="text36_35" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:56px; margin-top:9719px; line-height:15px; white-space:nowrap">\r
1304 vbslib \82Ì ArrayClass \82ð\97p\82¢\82ê\82Î\81A\88ø\90\94\82Ì\8ew\92è\82ð\83G\83~\83\85\83\8c\81[\83V\83\87\83\93\82Å\82«\82Ü\82·\81B</DIV>\r
1305 <DIV id="text36_36" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:45px; margin-top:9278px; line-height:15px; white-space:nowrap">\r
1306 <A href="#Arguments_Unnamed">\r
1307 \81¨ \96¼\91O\82È\82µ\88ø\90\94\81i\83I\83v\83V\83\87\83\93\88È\8aO\81j</A></DIV>\r
1308 <DIV id="text36_37" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:45px; margin-top:9297px; line-height:15px; white-space:nowrap">\r
1309 <A href="#Arguments_Named">\r
1310 \81¨ \96¼\91O\95t\82«\88ø\90\94\81i\83I\83v\83V\83\87\83\93\81j</A></DIV>\r
1311 <DIV id="text36_38" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:45px; margin-top:9316px; line-height:15px; white-space:nowrap">\r
1312 <A href="#Arguments_both">\r
1313 \81¨ \82·\82×\82Ä\82Ì\88ø\90\94</A></DIV>\r
1314 <DIV id="text36_39" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:45px; margin-top:9335px; line-height:15px; white-space:nowrap">\r
1315 <A href="..\vbslib.files\vbslib_20.html#GetCmdLine">\r
1316 \81¨ GetCmdLine (vbslib)</A></DIV>\r
1317 <v:rect style="position:absolute; margin-left:48px; margin-top:9417px; width:184px; height:25px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
1318 <DIV id="text36_40" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:56px; margin-top:9424px; line-height:13px; white-space:nowrap">\r
1319 WScript.Arguments.Unnamed(0)</DIV>\r
1320 <DIV id="text36_41" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#408080; margin-left:48px; margin-top:10063px; line-height:15px; white-space:nowrap">\r
1321 \83f\83t\83H\83\8b\83g\92l\82É\91Î\89\9e\82µ\82½\83I\83v\83V\83\87\83\93\82Ì\8eæ\93¾\81F</DIV>\r
1322 <v:rect style="position:absolute; margin-left:48px; margin-top:10083px; width:496px; height:55px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
1323 <DIV id="text36_42" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:56px; margin-top:10089px; line-height:15px; white-space:nowrap">\r
1324 &nbsp; Dim&nbsp; x<BR/>\r
1325 &nbsp; config = "Default"<BR/>\r
1326 &nbsp; x = WScript.Arguments.Named( "Config" ) : If not IsEmpty( x ) Then&nbsp; config = x</DIV>\r
1327 <DIV id="text36_43" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#FF0000; font-weight: bold; margin-left:56px; margin-top:9750px; line-height:15px; white-space:nowrap">\r
1328\82©\82ç\8en\82Ü\82é Linux \8c`\8e®\82Ì\83p\83X\82ð\83I\83v\83V\83\87\83\93\82Å\82Í\82È\82¢\83p\83\89\83\81\81[\83^\81[\82Æ\82·\82é\82Æ\82«</DIV>\r
1329 <DIV id="text36_44" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#0000FF; margin-left:56px; margin-top:9769px; line-height:15px; white-space:nowrap">\r
1330 <A href="#Arguments_both">\r
1331 \82·\82×\82Ä\82Ì\88ø\90\94</A></DIV>\r
1332 <DIV id="text36_45" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:139px; margin-top:9769px; line-height:15px; white-space:nowrap">\r
1333 \82ð\8eæ\93¾\82µ\82Ä\82­\82¾\82³\82¢\81\83\86\81[\83U\81[\82Í\81A/ \82©\82ç\8en\82Ü\82é\83I\83v\83V\83\87\83\93\82ð\81A</DIV>\r
1334 <DIV id="text36_46" style="position:absolute; font-family: '\82l\82\82o\83S\83V\83b\83N'; font-size:10pt; color:#000000; margin-left:56px; margin-top:9788px; line-height:15px; white-space:nowrap">\r
1335 \83\81\83C\83\93\81E\83p\83\89\83\81\81[\83^\82Ì\8cã\82É\8ew\92è\82µ\82Ä\82­\82¾\82³\82¢\81B</DIV>\r
1336 <v:rect style="position:absolute; margin-left:48px; margin-top:9577px; width:328px; height:85px;" fillcolor="#E7E7E7" strokecolor="#000000" strokeweight="1pt"/>\r
1337 <DIV id="text36_47" style="position:absolute; font-family: '\82l\82\83S\83V\83b\83N'; font-size:9pt; color:#000000; margin-left:56px; margin-top:9583px; line-height:15px; white-space:nowrap">\r
1338 &nbsp; If WScript.Arguments.Unnamed.Count &gt;= 1 Then<BR/>\r
1339 &nbsp; &nbsp; input_path = WScript.Arguments.Unnamed(0)<BR/>\r
1340 &nbsp; Else<BR/>\r
1341 &nbsp; &nbsp; input_path = InputPath( "\95ª\8a\84\82·\82é\83t\83@\83C\83\8b &gt;",&nbsp; )<BR/>\r
1342 &nbsp; End If</DIV>\r
1343 \r
1344 <v:line from="0,9026" to="628,9026"/>\r
1345 <v:line from="628,9026" to="628,10748"/>\r
1346 <v:line from="628,10748" to="0,10748"/>\r
1347 <v:line from="0,10748" to="0,9026"/>\r
1348 \r
1349 <DIV style="position:absolute; margin-left:0px; margin-top:10748px;">\r
1350 <A id="svgcats_vml_p36" class="to_tree" onClick="selectTreeElem( '36' );">\81©</A></DIV>\r
1351 <DIV style="position:absolute; margin-left:20px; margin-top:10748px;">\r
1352 <A id="page_group_bottom" href="vbs_memo_03.html#page_group_top" style="text-decoration:none;">\81«</A></DIV>\r
1353 </PAGE>\r
1354  \r
1355 </PAGESET>\r
1356 \r
1357 <TABLE height="100%" style="position:absolute; margin-top:-9999px"><TR><TD></TD></TR></TABLE>\r
1358 \r
1359 </BODY>\r
1360 </HTML> \r
1361  \r