ファイルサイズの取得

Set fso = CreateObject("Scripting.FileSystemObject")
Set src = fso.Getfile("C:\OouchiWorks\M6E3\NUCORE\Pc-Cam_Data\Debug_Host\update.img")
if src.Size >= 4128768 then
	WScript.Echo "[警告]イメージデータのサイズが大きすぎます。->" & src.Size
end if