Colts @ Commanders · Sunday, October 4, 2026
#Colts #IND #ForTheShoe #Commanders #WSH #RaiseHail #NFL https://boxscore.email/nfl/2026-10-05

Colts @ Commanders · Sunday, October 4, 2026
#Colts #IND #ForTheShoe #Commanders #WSH #RaiseHail #NFL https://boxscore.email/nfl/2026-10-05
Windows:
#コマンドプロンプト・BATを使いこなす
#WSH・JScriptでバッチ作成
#PowerShell入門
#Windowsパソコンのメンテナンス
Linux:
#linuxの基礎を勉強
エンジニア論:
#バッチ職人になろう
#WSH・JScriptでバッチ作成 13
exec_cmd( "dir /s /b *.txt", {
// スクリプト置き場にあるhogeフォルダ内をカレントフォルダにして,コマンド実行
current_dir : script_dir_path + "\\hoge"
}).each(function( file_path ){
WScript.Echo( file_path );
});
http://source-code-student.hat...
#WSH・JScriptでバッチ作成 12
exec_cmdの使い方
http://source-code-student.hat...
exec_cmd( "dir /s /b *.txt", {
// スクリプトの置き場をコマンド実行のカレントディレクトリにする
current_dir_same_as_this_script : true
}).each(function( file_path ){
WScript.Echo( file_path );
});
#WSH・JScriptでバッチ作成 11
ライブラリ "exec_cmd"
・WSHからコマンドプロンプトを
自由自在に呼び出すことができる。
・OS上でのコマンドの実行結果の
出力の各行に対し,
each() などの配列イテレータメソッドを
直で実行できる。
#WSH・JScriptでバッチ作成 10 // フォルダのフルパス var dir_path = script_dir_path + "¥¥hoge"; // フォルダを作成 var fso = WScript.CreateObject("Scripting.FileSystemObject"); if( fso.FolderExists(dir_path) ) { WScript.Quit(); } fso.CreateFolder(dir_path);
中二病なら四次方程式も解きたい!
#WSH・JScriptでバッチ作成 9 // スクリプトの置いてある場所(フォルダパス)を表示 var fso = new ActiveXObject("Scripting.FileSystemObject"); var file_path = WScript.ScriptFullName; var dir_path = fso.getParentFolderName( file_path ); WScript.Echo( dir_path );
#WSH・JScriptでバッチ作成 8 テキストの中身をUTF8で読み込む var sr = new ActiveXObject("ADODB. Stream"); sr.Type = 2; // テキスト sr.charset = "utf-8"; sr.Open(); sr.LoadFromFile( file_path ); var str = sr.ReadText( 1 ); // 全行 sr.Close();
Nationals 6, Mets 4 · Sunday, September 27, 2026
#Nationals #Mets #WSH #NYM #Natitude #LGM #MLB https://boxscore.email/mlb/2026-09-28
Nationals 6, Mets 4 · Sunday, September 27, 2026
#Nationals #Mets #WSH #NYM #Natitude #LGM #MLB https://boxscore.email/mlb/2026-09-28
Windows:
#コマンドプロンプト・BATを使いこなす
#WSH・JScriptでバッチ作成
#PowerShell入門
#Windowsパソコンのメンテナンス
Linux:
#linuxの基礎を勉強
エンジニア論:
#バッチ職人になろう
Seahawks @ Commanders · Sunday, September 27, 2026
#Seahawks #SEA #GoHawks #Commanders #WSH #RaiseHail #NFL https://boxscore.email/nfl/2026-09-28
#WSH・JScriptでバッチ作成 7 // SJISでテキストファイルを全行読み込み var fso = new ActiveXObject("Scripting.FileSystemObject"); var ForReading = 1; // 読み込み var txt_r = fso.OpenTextFile( file_path, ForReading ); var str = txt_r.ReadAll(); WScript.Echo( str );
#WSH Andrés Chaparro homers (13) on a fly ball to left center off #NYM Sean Manaea. 🏳 389ft, 103.9mph, 24.0° NYM 4 @ WSH 5 · BOT 5
#WSH・JScriptでバッチ作成 6 オブジェクトの作り方 ① WScript.CreateObject("Scripting.FileSystemObject") ② new ActiveXObject("Scripting.FileSystemObject") WSH VBScriptでは①のみ使用可能。 WSH JScriptでは①②を使用可能。 htaファイル内のJScriptは②のみ使用可能。
#WSH Andrés Chaparro homers (12) on a fly ball to left off #NYM Sean Manaea. 🏳 379ft, 🔥109.2mph, 🚀41.0° NYM 4 @ WSH 3 · BOT 3
#NYM Francisco Lindor homers (21) on a fly ball to left off #WSH DJ Herz. 🏳 409ft, 🔥110.8mph, 22.0° NYM 4 @ WSH 1 · TOP 2
#NYM Ronny Mauricio homers (4) on a fly ball to center off #WSH DJ Herz. Luis Torrens scores. 🏳 410ft, 🔥107.5mph, 🚀37.0° NYM 3 @ WSH 1 · TOP 2