|
|
| CopyFile | ||
| CopyFile SourceFilename$, OuputFilename$ | ||
| Parameters: SourceFilename$ = The Filename of the file you wish to copy OuputFilename$ = The Filename and output location of the copied file |
||
| Returns: NONE | ||
CopyFile will copy a file. FACTS: * Before you use CopyFile always make sure that source filename exists. If you try and copy a file that doesn't exist, PlayBASIC will return a run time error. Mini Tutorial: This example will create a blank file on the C: Drive called "TestFile.txt" , then copies it and displays the info about this file. both files are removed before the program ends.
This example would output.
|
| Related Info: | CurrentDir$ | DeleteFile | DriveList$ | FileExist | FolderExist | GetFileName$ | GetFolderName$ | MoveFile : |
|
|
|||||||||||||||||||||||||||||||||||||||
|
(c) Copyright 2002 - 2026 - Kevin Picone - PlayBASIC.com |