Next Topic

Previous Topic

Book Contents

deleteFileInDirectoryPath()

Deletes the specified file located at the path returned using the getDirectoryPathFromRegistry() command.

Example

If isUserLoggedIn(" ")
	getDirectoryPathFromRegistry(HKEY_CURRENT_USER\KaseyaAgent-HKCUTest\TestDirectoryPath", "All Operating System, "Halt on Fail")
	deleteFileInDirectoryPath(test.txt", "All Operating Systems", "Halt on Fail")