Issue with command line cadfeko execution

New Altair Community Member
Updated by Angelo Romano
Hi, I’m trying to run feko lua scripts from command line to change some variables inside cadfeko with a call from CLI.
When I run the script from the feko script editor it works fine but when I try to execute it from terminal it does not work and the message
”An error occurred while processing the command line:Loaded “FILENAME.cfx” Data could not be read from file “FILENAME.cfx” An unknown error occurred”
The command I run is :
cadfeko “FILENAME.cfx” —run-script ChangeVar.lua
How can I fix this error?
Thanks in advance for the help.