Created
November 30, 2016 09:18
-
-
Save Satomaru/e963fc75932781df43777adc81d6f61f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
Dim application | |
Dim folder | |
Dim fileName | |
Dim line | |
Dim i | |
WScript.Echo "名前" & vbTab & "サイズ" & vbTab & "種類" & vbTab & "更新日時" & vbTab & "作成日時" | |
Set application = CreateObject("Shell.Application") | |
Set folder = application.Namespace(WScript.Arguments.item(0)) | |
For Each fileName in folder.Items | |
line = "" | |
For i = 0 To 4 | |
line = line & folder.GetDetailsOf(fileName, i) & vbTab | |
Next | |
WScript.Echo line | |
Next |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
以下のように使ってください。