 |
 |
File System ..msdn Add comment |
 |
|
DeleteVolumeMountPoint
|
|
Unmounts the volume from the specified volume mount point. |
|
 |
 |
 |
|
FindFirstVolume
|
|
Returns the name of a volume on a computer. This call is used to begin scanning the volumes of a computer. |
|
 |
 |
 |
|
FindFirstVolumeMountPoint
|
|
Returns the name of a volume mount point on the specified volume. It is used to begin scanning the volume mount points on a volume.
|
|
 |
 |
 |
|
FindNextVolume
|
|
Continues a volume search started by a call to the FindFirstVolume function. |
|
 |
 |
 |
|
FindNextVolumeMountPoint
|
|
Continues a volume mount point search started by a call to the FindFirstVolumeMountPoint function. |
|
 |
 |
 |
|
FindVolumeClose
|
|
Closes the specified volume search handle created with the FindFirstVolume and FindNextVolume call. |
|
 |
 |
 |
|
FindVolumeMountPointClose
|
|
Closes the specified mount-point search handle. |
|
 |
 |
 |
|
GetCompressedFileSize
|
|
Retrieves the actual number of bytes of disk storage used to store a specified file. If the file is located on a volume that supports compression/sparse files, and the file is compressed, the value obtained is the compressed/sparse size of the specified file |
|
 |
 |
 |
|
GetDiskFreeSpace
|
|
[Obsolete] Retrieves information about the specified disk, including the amount of free space on the disk.
|
|
 |
 |
 |
|
GetDiskFreeSpaceEx
|
|
Retrieves information about the amount of space available on a disk volume: the total amount of space, the total amount of free space, and the total amount of free space available to the user associated with the calling thread. |
|
 |
 |
 |
|
GetFileSize
|
|
Retrieves the size of a specified file. |
|
 |
 |
 |
|
GetFileSizeEx
|
|
The GetFileSizeEx function retrieves the size of the specified file. |
|
 |
 |
 |
|
GetLogicalDrives
|
|
The GetLogicalDrives function retrieves a bitmask representing the currently available disk drives |
|
 |
 |
 |
|
GetLogicalDriveStrings
|
|
The GetLogicalDriveStrings function fills a buffer with strings that specify valid drives in the system |
|
 |
 |
 |
|
GetVolumeInformation
|
|
Retrieves information about a file system and volume whose root directory is specified. |
|
 |
 |
 |
|
GetVolumeNameForVolumeMountPoint
|
|
Takes a volume mount point or root directory and returns the corresponding unique volume name. |
|
 |
 |
 |
|
GetVolumePathNamesForVolumeName
|
|
Retrieves a list of path names for the specified volume name.
|
|
 |
 |
 |
|
SetVolumeLabel
|
|
The SetVolumeLabel function sets the label of a file system volume. |
|
 |
 |
 |
|
SetVolumeMountPoint
|
|
Mounts the specified volume at the specified volume mount point. |
|
 |
 |
 |
 |
| Code examples: |
 |
|
|
 |
|
 |
 |
User Contributed Notes: |
 |
 |
 |
 |
 |
 | Is there Code to display explorer in Details View? | 2006-03-30 14:38:50 |  |
 |
 |
 | I need a getfile() function that will display the files in the DETAIL View sorted by the newest files first.
Anyone know how to do this before I attempt it? |  |
 |
 |
 |
 | A.M. | 2006-03-30 16:10:51 |  |
 |
 |
 | Sounds like a threat :) Try this for a starter:
oShell = CREATEOBJECT("Shell.Application") oFolder = oShell.NameSpace("c:\Program Files") oVerbs = oFolder.Self.Verbs oVerb = oVerbs.Item(0) && open oVerb.DoIt |  |
 |
 |
 |
 | Don Higgins | 2006-03-30 17:31:19 |  |
 |
 |
 | You are the man.... Great job works perfectly.
But how does it work? |  |
 |
 |
 |
 | Don Higgins | 2006-03-30 17:43:58 |  |
 |
 |
 | Only one item. I need to be able to choose a file like GetFile() allows me to. Is that possible with this? |  |
 |
 |
 |
 | A.M. | 2006-03-30 19:49:55 |  |
 |
 |
 | Ok, let's move on :) try this
oShell = CREATEOBJECT("Shell.Application") oFolder = oShell.NameSpace("c:\Program Files") oItems = oFolder.Items FOR EACH oItem IN oItems WITH oItem ? .Name, ", last modified on", .ModifyDate ENDWITH NEXT |  |
 |
 |
 |
 | Don Higgins | 2006-03-30 23:21:28 |  |
 |
 |
 | Thank you for your help. Should I be placing the file information into a table and put it in a grid so I can choose which one I want?
The code you gave me lists the files but does not allow me to choose one. |  |
 |
 |
 |
 | A.M. | 2006-03-31 07:57:09 |  |
 |
 |
 | There are some limits of course.
Check functions and related examples in this reference: GetOpenFileName, GetFileNameFromBrowse, SHFileOperation. They may give you some ideas. |  |
 |
 |
 |
 | Don Higgins | 2006-03-31 12:07:07 |  |
 |
 |
 | Thanks again for steering me in the right direction. |  |
 |
 |
 |
 |
 |
|