hexagon logo

When I am exporting numeric data via commands, how can I prevent the GUI from popping asking about back-ups?

As the title says, I'm automating exporting numeric data, but if files already exist I get pop-ups asking if I want to make back-ups.  Is there a way to default to yes or no?  Thank you!

With Regards,
Jason

Parents
  • There is probably no way to get a default choice for this. But what you can do is to check for the file yourself before doing the export, and remove it or rename it as you like. This will remove:

    if condition = (FILE_EXISTS("the_file.txt"))
       variable set variable_name = .temp_var  &
        integer_value = (eval(REMOVE_FILE("the_file.txt")))
    end

    If you instead want to rename the existing file, then use RENAME_FILE()

Reply
  • There is probably no way to get a default choice for this. But what you can do is to check for the file yourself before doing the export, and remove it or rename it as you like. This will remove:

    if condition = (FILE_EXISTS("the_file.txt"))
       variable set variable_name = .temp_var  &
        integer_value = (eval(REMOVE_FILE("the_file.txt")))
    end

    If you instead want to rename the existing file, then use RENAME_FILE()

Children
No Data