Directories and Files Summary (Visual Basic)
Visual Basic language keywords and run-time library members are organized by purpose and use.
Using the My
feature gives you greater productivity and performance in file I/O operations than using these members. For more information, see FileSystem.
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
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про