{"id":18,"date":"2009-04-15T11:44:21","date_gmt":"2009-04-15T02:44:21","guid":{"rendered":"http:\/\/www.moonmile.net\/blog\/?p=18"},"modified":"2009-09-01T10:33:00","modified_gmt":"2009-09-01T01:33:00","slug":"windows%e3%83%9e%e3%82%b7%e3%83%b3%e3%81%ae%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88","status":"publish","type":"post","link":"http:\/\/www.moonmile.net\/blog\/archives\/18","title":{"rendered":"Windows\u30de\u30b7\u30f3\u306e\u30b9\u30af\u30ea\u30d7\u30c8"},"content":{"rendered":"<p>\u300c\u65e5\u4ed8\u3092\u3064\u3051\u305f\u9023\u756a\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u300d\uff08\u4eca\u4f5c\u3063\u305f\u306e\u3060\u304c\uff09\u306e\u3088\u3046\u306a\u30c4\u30fc\u30eb\u3092\u4f5c\u308d\u3046\u3068\u3059\u308b\u3068\u3001\u308f\u3056\u308f\u3056C#\u3068\u304bC\u8a00\u8a9e\u3067\u66f8\u304f\u306e\u306f\u9762\u5012\/\u5927\u8888\u88df\u306a\u306e\u3067\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u3046\u3001\u3068\u601d\u3046\u591a\u5206\u3002<\/p>\n<p>\u65e5\u9803\u3001C#\u3084VB.NET\u3092\u4f7f\u3063\u3066\u3044\u308b\u3068\u3001\u3053\u306e\u3042\u305f\u308a\u5fd8\u308c\u3066\u3057\u307e\u3046\u308f\u3051\u3067\u3059\u304c\u3002\u679c\u305f\u3057\u3066\u3001\u69cb\u7bc9\u3057\u76f4\u3057\u305f vaio type-T\uff08\u30c9\u30e9\u30a4\u30d6\u304c40GB\u3057\u304b\u306a\u3044\u306e\u304c\u8f9b\u3044\u3068\u3053\u308d&#8230;\uff09\u3067\u306f\u3001Visual Studio 2008 \u306f\u5165\u308c\u305f\u3082\u306e\u306e\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u306f\u5165\u308c\u3066\u3044\u306a\u3044\u3002\u306f\u3066\u3069\u3046\u3057\u305f\u3082\u306e\u304b\u3002<\/p>\n<p>\u79c1\u306e\u99b4\u67d3\u307f\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3068\u8a00\u3048\u3070\u3001perl \u306a\u8a33\u3067\u3059\u304c\u3001\u5148\u307b\u3069\u306e\u30c4\u30fc\u30eb\u3092\u4f5c\u308b\u305f\u3081\u306b activeperl \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3001\u3068\u3044\u3046\u306e\u306f\u9762\u5012\u306a\u306e\u3067\u3001\u3084\u3063\u3071\u308a windows \u30de\u30b7\u30f3\u306a\u3089\u3070 vbscript \u3068\u3044\u3046\u3068\u3053\u308d\u3067\u3057\u3087\u3046\u3002\u3068\u3044\u3046\u8a33\u3067\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f\u3002\u3002\u3002\u4f55\u6545\u304b 30 \u5206\u8fd1\u304f\u3082\u639b\u3063\u3066\u3057\u307e\u3063\u305f\u3002\u3002\u3002\u5fd8\u308c\u3066\u3044\u308b\u304b\u3089\u306d\u3047\u3002<br \/>\n\u3067\u304d\u305f\u30bd\u30fc\u30b9\u306f\u3053\u3093\u306a\u611f\u3058<\/p>\n<blockquote><p>&#8216;==============================================================<br \/>\n&#8216; \u9023\u756a\u3067\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8<br \/>\n&#8216;==============================================================<\/p>\n<p>dim fso\u00a0\u00a0&#8216;\u30d5\u30a1\u30a4\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<br \/>\ndim folder \u00a0&#8216;\u4f5c\u6210\u5148\u306e\u30d5\u30a9\u30eb\u30c0\u540d<br \/>\ndim file \u00a0&#8216;\u4f5c\u6210\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u540d<br \/>\ndim n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8216;\u672c\u65e5<\/p>\n<p>&#8216;==============================================================<br \/>\n&#8216;\u5b9a\u6570<br \/>\n&#8216;==============================================================<br \/>\nfolder = &#8220;c:\\work\\blog\\memo\\&#8221;<\/p>\n<p>set fso = WScript.CreateObject(&#8220;Scripting.FileSystemObject&#8221;)<br \/>\n&#8216;\u65e5\u4ed8\u3092\u53d6\u5f97<br \/>\nn = now<br \/>\nfile = Year(n) &amp; Right(&#8220;00&#8221; &amp; Month(n),2) \u00a0&amp; Right(&#8220;00&#8221; &amp; Day(n), 2 )<\/p>\n<p>&#8216;\u30d5\u30a1\u30a4\u30eb\u306e\u65b0\u898f\u4f5c\u6210<br \/>\nfor i = 1 to 99<br \/>\n\u00a0f = folder &amp; file &amp; &#8220;_&#8221; &amp; right(&#8220;00&#8221; &amp; i, 2 ) &amp; &#8220;.txt&#8221;<br \/>\n\u00a0if fso.FileExists( f ) = false then<br \/>\n\u00a0\u00a0set ofile = fso.OpenTextFile( f, 2, true )<br \/>\n\u00a0\u00a0&#8216;ofile.WriteBlankLines(1) &#8216;\u3072\u3068\u3064\u3060\u3051\u7a7a\u884c\u3092\u4f5c\u308b<br \/>\n\u00a0\u00a0ofile.Close<br \/>\n\u00a0\u00a0exit for<br \/>\n\u00a0end if<br \/>\nnext<\/p><\/blockquote>\n<p>\u3055\u3066\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u8a71\u306f\u3069\u3046\u3067\u3082\u3044\u3044\u308f\u3051\u3067\u3059\u304c\u3001\u4eca\u56de\u306e\u3088\u3046\u306a\u8efd\u3044\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u308b\u3068\u304d\u306b\u4f55\u304c\u3044\u3044\u306e\u304b\u306a\u3041\u3068\u601d\u3046\u3068\u3001<\/p>\n<p>\u00a0* perl<br \/>\n\u00a0* ruby<br \/>\n\u00a0* phython\uff08\u2190\u4f7f\u3063\u305f\u3053\u3068\u306f\u306a\u3044\uff09<br \/>\n\u00a0* vbscript<\/p>\n<p>\u3050\u3089\u3044\u304c\u5019\u88dc\u3067\u3059\u304b\u306d\u3047\u3002\u6700\u8fd1\u306f PHP \u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>perl, ruby, \u591a\u5206 phython \u306f\u6b63\u898f\u8868\u73fe\u304c\u697d\u306a\u306e\u3067\u3001\u30c6\u30ad\u30b9\u30c8\u3092\u691c\u7d22\u3057\u3066\u306a\u3093\u3068\u304b\u3059\u308b\u3068\u3044\u3046\u306e\u304c\u304a\u5f97\u610f\u3002\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u30d2\u30a2\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u66f8\u3044\u3066\u3001\u305d\u308c\u306b\u57cb\u3081\u8fbc\u3093\u3067\u3044\u304f\u3068\u3044\u3046\u306e\u306f\u304a\u624b\u306e\u3082\u306e\u3067\u3059\u3002\u30d2\u30a2\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3068\u3044\u3046\u306e\u306f\u3001perl \u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u90e8\u5206\u3068\u5909\u6570\u90e8\u5206\u3092\u57cb\u3081\u8fbc\u3080\u65b9\u6cd5\u3067\u3001asp.net \u3084 jsp \u306b\u4f3c\u3066\u3044\u307e\u3059\u3002\u3068\u3044\u3046\u304b\u3001asp,net \u3084 jsp \u304c perl \u7b49\u306e\u30d2\u30a2\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u4f3c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u5177\u4f53\u7684\u306b\u306f\u3001<\/p>\n<p>print &lt;&lt; EOF<br \/>\n\u540d\u524d: $name<br \/>\n\u4f4f\u6240: $address<br \/>\nEOF<\/p>\n<p>\u306a\u611f\u3058\u3067\u8a73\u7d30\u306f\u3001\u2193\u306a\u305e\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>CGI-Perl \u57fa\u790e\u5b9f\u5730\u7de8 &#8211; \u5b9f\u7fd23 (\u30d2\u30a2\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8)<br \/>\n<a href=\"http:\/\/homepage2.nifty.com\/sak\/w_sak3\/doc\/sysbrd\/pe_kj03.htm\">http:\/\/homepage2.nifty.com\/sak\/w_sak3\/doc\/sysbrd\/pe_kj03.htm<\/a><\/p>\n<p>vbscript \u3067\u30d2\u30a2\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u3084\u308b\u3053\u3068\u3082\u53ef\u80fd\u306f\u53ef\u80fd\u306a\u3093\u3067\u3059\u304c\u3001perl \u7b49\u307b\u3069\u306b\u306f\u624b\u8efd\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u9591\u8a71\u4f11\u984c\u3002<\/p>\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u306f\u3001\u305d\u308c\u305e\u308c\u7279\u5fb4\u304c\u3042\u3063\u3066\u624b\u306b\u99b4\u67d3\u3080\u3082\u306e\/\u99b4\u67d3\u307e\u306a\u3044\u3082\u306e\u304c\u3042\u308a\u3001\u79c1\u306f\u5927\u5b66\u306e\u9803\u306b fortran \u3068 perl \u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3044\u305f\u305f\u3081\u306b\u3001ruby \u306b\u624b\u304c\u51fa\u3066\u304a\u308a\u307e\u305b\u3093\u3002\u5148\u307b\u3069\u306e\u3088\u3046\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u3092\u4f7f\u308f\u306a\u3044\u3001\u7c21\u5358\u306a\u30c4\u30fc\u30eb\u3067\u3042\u308c\u3070\u3055\u307b\u3069\u8a00\u8a9e\u306f\u554f\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>\u3044\u3048\u300c\u8a00\u8a9e\u3092\u554f\u3044\u307e\u305b\u3093\u300d\u3068\u8a00\u3044\u307e\u3057\u305f\u304c\u3001\u5b9f\u306f\u300c\u554f\u3044\u307e\u3059\u300d\u3002\u3068\u3044\u3046\u306e\u3082\u3001\u3053\u306e vaio type-T\u3002\u3055\u3089\u306e\u72b6\u614b\u306b\u3057\u3066\u3057\u307e\u3063\u305f\u306e\u3067\u3001\u6a19\u6e96\u3067\u4ed8\u3044\u3066\u3044\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u4ee5\u5916\u306f\u4f7f\u3048\u306a\u3044\u308f\u3051\u3067\u3001\u3068\u306a\u308b\u3068\u3001\u5019\u88dc\u3068\u3057\u3066\u306f\u3001<\/p>\n<p>* vbscript<br \/>\n* javascript<br \/>\n* C#<br \/>\n* Visual Basic .NET<\/p>\n<p>\u5b9f\u306f Windows XP3 \u3084 Vista \u306e\u30de\u30b7\u30f3\u3067\u306f\u65e2\u306b .NET Framework \u304c\uff08\u52dd\u624b\u306b\uff09\u5c0e\u5165\u3055\u308c\u3066\u304a\u308a\u3001\u5b9f\u306f\u74b0\u5883\u5909\u6570\u3092\u8a2d\u5b9a\u3059\u308c\u3070 Visual C# Express Edition \u3092\u5165\u308c\u306a\u304f\u3066\u3082\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u3067\u304d\u307e\u3059\u3002\u5f53\u7136\u5b9f\u884c\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u5177\u4f53\u7684\u306b\u306f<\/p>\n<p>\u00a01. C:\\Windows\\Microsoft.NET\\Framework \u306e\u30d5\u30a9\u30eb\u30c0\u3092\u8abf\u3079\u308b\u3002<br \/>\n\u00a02. \u2193\u306e\u3088\u3046\u306a\u30d5\u30a9\u30eb\u30c0\u304c\u3042\u308c\u3070\u3001<br \/>\n2009\/04\/13\u00a0 19:00\u00a0\u00a0\u00a0 &lt;DIR&gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 v1.0.3705<br \/>\n2006\/11\/02\u00a0 20:18\u00a0\u00a0\u00a0 &lt;DIR&gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 v1.1.4322<br \/>\n2009\/04\/14\u00a0 19:24\u00a0\u00a0\u00a0 &lt;DIR&gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 v2.0.50727<br \/>\n2006\/11\/02\u00a0 21:41\u00a0\u00a0\u00a0 &lt;DIR&gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 v3.0<br \/>\n2009\/04\/14\u00a0 15:59\u00a0\u00a0\u00a0 &lt;DIR&gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 v3.5<br \/>\n\u00a03. \u305d\u308c\u305e\u308c\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u4ee5\u4e0b\u304c\u3042\u308c\u3070\u30b3\u30f3\u30d1\u30a4\u30eb\u3067\u304d\u308b\u3002<br \/>\n\u00a0 &#8211; csc.exe\u00a0\u00a0 C#\u306e\u30b3\u30f3\u30d1\u30a4\u30e9<br \/>\n\u00a0 &#8211; vbc.exe\u00a0\u00a0 vb.net \u306e\u30b3\u30f3\u30d1\u30a4\u30e9<\/p>\n<p>\u3053\u308c\u306f windows xp, vista \u306e\u5834\u5408\u3067\u3059\u304c\u3001windows server 2008 \u306e\u5834\u5408\u306f\u6761\u4ef6\u304c\u304d\u3064\u304f\u306a\u3063\u3066\u3044\u3066\u3001IIS \u3084 SQL Server \u7b49\u304c\u5165\u3063\u3066\u3044\u306a\u3044\u3068\u3001wscript.exe\/cscript.exe \u3057\u304b\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n# windows server 2008 \u306e\u300ccore \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d\u306e\u5834\u5408\u306f\u3001.net framework \u304c\u5165\u3089\u306a\u3044\u306e\u3067<br \/>\n# \u3042\u308a\u307e\u305b\u3093\u304c\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001\u624b\u5143\u3067\u958b\u767a\u3092\u3059\u308b\u3068\u304b\u793e\u5185\u30de\u30b7\u30f3\u306e\u5834\u5408\u306f perl \u3084\u3089 ruby \u3084\u3089\u3092\u5165\u308c\u3066\u3082\u3088\u3044\u308f\u3051\u3067\u3059\u304c\u3001<\/p>\n<p>\u00a0* \u5ba2\u5148\u306e\u904b\u7528\u30de\u30b7\u30f3<br \/>\n\u00a0* \u5ba2\u5148\u306e\u904b\u7528\u30b5\u30fc\u30d0\u30fc<br \/>\n\u00a0* \u793e\u5185\u3067\u3082\u30b5\u30fc\u30d0\u30fc\u306e\u985e<\/p>\n<p>\u306a\u3093\u304b\u306f\u3001\u3053\u306e\u3042\u305f\u308a\u300c\u52dd\u624b\u306b\u300d\u4f55\u304b\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u5165\u308c\u308b\u3053\u3068\u3092\u8a31\u3055\u308c\u306a\u3044\u3002\u3058\u3083\u3042\u3001\u9762\u5012\u306a\u4f5c\u696d\u306f\u624b\u4f5c\u696d\u306b\u3059\u308b\u306e\u304b\u3068\u8a00\u308f\u308c\u308c\u3070\u3001\u9762\u5012\u3060\u306a\u3041\u304c\uff08\u79c1\u306f\uff09\u5148\u306b\u7acb\u3063\u3066\u3057\u307e\u3046\u308f\u3051\u3067\u3002\u3068\u306a\u308b\u3068\u3001\u9069\u5ea6\u306b vbscript \u3050\u3089\u3044\u306f\u4f7f\u3048\u305f\u307b\u3046\u304c\u3044\u3044\u3088\u306d\u3002\u3068\u3044\u3046\u611f\u89e6\u3092\u6301\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3069\u3046\u3067\u3057\u3087\u3046\uff1f<br \/>\n# \u3082\u3068\u3082\u3068\u3001\u305d\u3046\u3044\u3046\u65b9\u91dd\u3067\u4f5c\u3089\u308c\u305f\u8a33\u306a\u3093\u3067\u3059\u304c\u3002<\/p>\n<p>\u305d\u3046\u305d\u3046\u3001\u5ba2\u5148\u306e\u74b0\u5883\u306bExcel\u304c\u5165\u3063\u3066\u3044\u308c\u3070\u3001VBA\u3067\u4f5c\u308b\u3063\u3066\u306e\u3082\u3042\u308a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u300c\u65e5\u4ed8\u3092\u3064\u3051\u305f\u9023\u756a\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u300d\uff08\u4eca\u4f5c\u3063\u305f\u306e\u3060\u304c\uff09\u306e\u3088\u3046\u306a\u30c4\u30fc\u30eb\u3092\u4f5c\u308d\u3046\u3068\u3059\u308b\u3068\u3001\u308f\u3056\u308f\u3056C#\u3068\u304bC\u8a00\u8a9e\u3067\u66f8\u304f\u306e\u306f\u9762\u5012\/\u5927\u8888\u88df\u306a\u306e\u3067\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u3046\u3001\u3068\u601d\u3046\u591a\u5206\u3002 \u65e5\u9803\u3001C#\u3084VB.NET\u3092\u4f7f\u3063\u3066\u3044\u308b\u3068\u3001\u3053\u306e\u3042 &hellip; <a href=\"http:\/\/www.moonmile.net\/blog\/archives\/18\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-18","post","type-post","status-publish","format-standard","hentry","category-dev"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":6,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/18\/revisions"}],"predecessor-version":[{"id":276,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/18\/revisions\/276"}],"wp:attachment":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media?parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/categories?post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/tags?post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}