Created
January 10, 2016 11:10
-
-
Save mareku/dadb9961cecec9e2a543 to your computer and use it in GitHub Desktop.
GetDetailsOfでファイルのプロパティを取得
OSや環境で番号が変わるからこのuwsで確認する。
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 objShell | |
objShell = CreateOleObj("Shell.Application") | |
DIM s_dir = GET_CUR_DIR | |
DIM s_fileNmae = "GetDetailsOf.uws" | |
DIM o_folder = objShell.NameSpace(s_dir) | |
DIM o_item = o_folder.ParseName(s_fileNmae) | |
DIM i, s | |
FOR i = 1 TO 400 | |
DIM s_columName = o_folder.GetDetailsOf(emptyparam, i) | |
DIM s_value = o_folder.GetDetailsOf(o_item, i) | |
s = s + i + " :" + s_columName + " = " + s_value + "<#CR>" | |
NEXT | |
SENDSTR(EXEC("NOTEPAD"),s) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment