Directories and Files Summary
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Directories and Files Summary

Visual Basic language keywords and run-time library members are organized by purpose and use.

Action Language element
Change a directory or folder. ChDir
Change the drive. ChDrive
Copy a file. FileCopy
Make a directory or folder. MkDir
Remove a directory or folder. RmDir
Rename a file, directory, or folder. Rename
Return the current path. CurDir
Return a file's date/time stamp. FileDateTime
Return file, directory, or label attributes. GetAttr
Return a file's length. FileLen
Return a file's name or volume label. Dir
Set attribute information for a file. SetAttr

See Also

Keywords and Members by Task | Visual Basic Language Keywords | Visual Basic Run-Time Library Members

Show:
© 2016 Microsoft