Below are some quick tips on working with files.
Marietta,
Element
K Moderator
===================================================
How
do I delete a file?
The Kill function deletes the file
specified.
Kill "C:\MyFile.Txt"
How do I rename a file?
The Name function renames a file.
Name "C:\OldFile.Txt" as
"C:\NewFile.Txt"
How do I copy a file?
To copy a file use the
FileCopy functions as shown below.
FileCopy "C:\File.Txt",
"C:\FileCopy.Txt"
How do I move a file?
Moving a file
involves two functions. First copying the file to a new location,
then
deleting the old file.
FileCopy "C:\File.Txt", "C:\FileCopy.Txt" ‘ Copy
file to a new file
Kill "C:\File.Txt" ‘ delete the old file