Gambas Documentation
Application Repository
Code Snippets
Compilation & Installation
Components
Controls pictures
Deprecated components
Developer Documentation
Development Environment Documentation
Documents
Error Messages
Gambas Playground
How To's
Language Index
Language Overviews
Arithmetical Functions
Arithmetic Operators
Array Declaration
Assignment Operators
Assignments
Binary Data Representation
Bits Manipulation Functions
Character Test Functions
Comparison methods
Complex numbers
Constant Declaration
Constant Expression
Conversion Functions
Datatype Functions
Datatypes
Date & Time Functions
Enumeration declaration
Error Management
Event Loop
Event Management
Events declaration
Expressions
External Function Management
File & Directory Functions
File & Directory Paths
File mode syntax
Floating Point Numbers
Formatting functions
Gambas Object Model
Global Special Event Handlers
Integer numbers
Intrinsic Functions
Language Constants
Localization and Translation Functions
Local Variable Declaration
Logarithms & Exponentials Functions
Logical Operators
Loop Control Structures
Method Declaration
Miscellaneous Control Structures
Miscellaneous Functions
Native Arrays
Native Container Classes
Object & Class Management
Operator Evaluation Order
Predefined Constants
Process Management
Property Declaration
Random Numbers Functions
Special Methods
Stream & Input/Output functions
String Functions
String Operators
Structure declaration
Test Control Structures & Functions
Trigonometric Functions
User-defined formats
Using reserved keywords as identifiers
Variable Declaration
Last Changes
Lexicon
README
Search the wiki
To Do
Topics
Tutorials
Wiki License
Wiki Manual

File & Directory Functions

Access Tests the access authorization of a file.
CHGRP
Since 3.1
Changes the group of a file.
CHMOD
Since 3.1
Changes the permissions of a file.
CHOWN
Since 3.1
Changes the owner of a file.
COPY Copies a file.
DFree Returns the free space on a device.
Dir Browses a directory.
Exist Checks if a specific file or directory exists.
IsDir Returns if a path points at a directory.
KILL Removes a file.
LINK Creates a symbolic link.
MKDIR Creates a directory.
MOVE Renames or moves a file or a directory.
RDir Browses a directory recursively.
RMDIR Removes an empty directory.
Stat Gets information about a file.
Temp$ Makes temporary file names.

To generate a directory or file path at runtime, use the file path concatenate operator &/:
MKDIR "/home/gambas/" &/ "/tmp" &/ "foo.bar"

See also