1.5

Table Of Contents
}
finally{
// Close the writer or the temporary file
writer.close();
}
}
finally{
// Close the reader
reader.close();
}
DeleteFile()
Function used to delete a file.
DeleteFile(filename)
Deletes a file.
filename
String that specifies the path and file name of the file to be deleted.
Examples
1. You can delete the data file used in the DataMapper:
DeleteFile(data.filename);
2. You can delete a file in a local folder
DeleteFile("c:\Content\test.txt");
execute()
Function that calls an external program and waits for it to end.
execute(command)
Calls an external program and waits for it to end.
command
String that specifies the path and file name of the program to execute.
Page 231