#### Files

Files
Working with files and directories

See also file_selector()

Functions/Procedures
Subtopics

## [func]copy_file ( sequence file1, sequence file2 )

Category: Files

Returns: An integer which will be 1 if successful, 0 if unsuccessful.

File1 is the file to be copied and File2 is the file that will be made. If you are using Windows, use \\ instead of .

You may NOT:

• Create a new directory with it.
• Copy one directory to another.

You may:

• Copy something and give it a name ( ex : C:\\EUPHORIA\\INCLUDE\\wxEuphoria.e,C:\\EUPHORIA\\INCLUDE\\wxUforiuh.K )
• Have spaces between each \\ or 'marks C:\\Documents and Settings\\'
• Have incorrect caps ( 'C:\\DoCuMeNtS aNd SeTtInGs\\' will still work. )

Category: Files

## [func]remove_file ( sequence file )

Category: Files

Returns: An integer which will be 1 if successful, 0 if unsuccessful.

Removes (deletes) the specified file, returns true if successful.

## [func]rmdir ( sequence directory )

Category: Files

Returns: An integer which will be 1 if successful, 0 if unsuccessful.

Deletes the specified directory from the file system.

Category: Files