Retrieving Extended File Properties
When you right-click a file in Windows Explorer and select Properties from the shortcut menu, a dialog box displays basic properties for that file, including such things as file name, file size, and the file creation, last access, and last modification dates. In addition to these basic properties, the Windows operating system also tracks a number of extended file properties. These properties are typically hidden; to display them in Windows Explorer, you must click View, click Choose Details, and then select the desired properties from the resulting dialog box.
The Shell Folder object includes a GetDetailsOf method that allows to access these extended properties. A ParseName methodcan be used to retrieve a FolderItem object that represents a specified item.
Creating directory preserving name case
MSDN:
- CreateDirectory function - Creates a new directory one level at a time
- SHCreateDirectory function - Creates a new directory including all intermediate folders, if necessary
- CreateFolder Method - WSH
- NewFolder Method - Shell
Enumerating IE instances
The Windows Shell
provides a powerful set of automation objects that enable you to access the file system, launch programs, and change system settings.
The Shell Windows Methodcreates and returns a ShellWindows object that represents a collection of all of the open windows that belong to the Shell, including Internet Explorer.
Enumerate Available Drives
The code below demonstrates the use of the DRIVETYPE() function.