[ファイルの情報を取得する] C:\Temp\text.txt の情報を取得します。 【ソースコード】 [tips0136.vbs] Option Explicit On Error Resume Next Dim strFolderName ' フォルダ名 Dim strFileName ' ファイル名 Dim objShell ' Shell オブジェクト Dim objFolder ' フォルダ情報 Dim objFile ' ファイル情報 strFolderName = "C:\Temp" strFileName = "Test.txt" Set objShell = WScript.CreateObject("Shell.Application") If Err.Number = 0 Then Set objFolder = objShell.NameSpace(strFolde