Files
Working with files and directories
See also file_selector()
Functions/Procedures
Subtopics
Files
[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. )
Files
Category:
Files
Files
Category:
Files
Returns: An integer which will be 1 if successful, 0 if unsuccessful.
Removes (deletes) the specified file, returns true if successful.
Files
[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.
Files
[func]
wx_mkdir ( object directory, object perm, atom flags )
Category:
Files