Interview Questions

WinRunner: How to delete files from drive?

Mercury WinRunner FAQ


(Continued from previous question...)

WinRunner: How to delete files from drive?

Here is a simple method using dos.
where speech_path_file is a variable.
example:
# -- initialize vars
speech_path_file = "C:\\speech_path_verified.txt";
.
.
dos_system("del " & speech_path_file);

(Continued on next question...)

Other Interview Questions