Hi,
I am trying to write a script that extract all selected archives to current directory and overwrite all files.
The problem is that the option OVERWITEALL is not working for me. When I run the script, the "Would you like to replace the existing file?" window shows and I have to choose a option for each selected archive. I'm using MC 7.4 build 2377. I wonder if I am doing something wrong here.
@var $source_path = GetSourcePath();
@var $arr_selected_file_paths[] = GetSourceSelectedPaths();
@var $n;
for( $n=0; $n<arrayCount($arr_selected_file_paths); $n++ )
{
@var $test = UnpackFile($arr_selected_file_paths[$n], $source_path, "*.*", "OVERWRITEALL, USEEXISTINGQUEUE, NOWAIT");
LogAppInfo($test);
}
Thanks