And now that you relocated the file, perhaps the path to that file is no longer the same?
Thanks for replying.
Yet, because it is $Variable, it should not have any impact as it is temporary stored in the script, right?
Not necessarily. It depends on how you set up the details of your script.
Frequently, a $Path variable includes both the file name and the file path. Other times, the filepath is specified separate from the value in the variable. And No filepath specified means "export to the same folder where the database file is stored" and you may not have "write" permission to write a new file to that folder.