2021.2

Table Of Contents
writer.newLine();
}
}
finally{
// Close the writer of the temporary file
writer.close();
}
}
finally{
// Close the reader
reader.close();
}
deleteFile(data.filename);
tmpFile.move(data.filename);
deleteFile()
Function that is used to delete a file.
deleteFile(filename)
filename
String that specifies the path and file name of the file to be deleted.
Examples
1. Deleting a file in a local folder:
deleteFile("c:\Content\test.txt");
2. Deleting the sample data file used in the DataMapper:
deleteFile(data.filename);
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 439