.tcl Command to accept overwriting an existing file

Altair Community Member
Updated by Manjunath0711
Hi,
I would like to know if there are any tcl commands that I can use to select yes for overwriting a file instead of manually selecting it or is there any way I can switch off the overwrite warning option in Hyperworks.
TIA
Sort by:
1 - 3 of
31

Altair Community Member
OPUpdated by Manjunath0711
Thank you for the quick response, the command is working except for overwriting an .oss file. After the execution of the highlighted line in the screenshot( attached below) the overwriting window pops up. Can you help me with this?
TIA


Updated by Adriano_Koga
as a workaround you could check for existance of this .oss file and if exists, delete or change your name...i don't know.
This was covered in another topic in the forum..
'file exist something'...
I use :
hm_answernext 'yes';
within my Tcl scripts.