File or directory creation from ignition scripting

Hello,

I am reading file path from one of my standard text files and I want to create new file in this path evenif it already exists.

can you help me with this?
thanks in advance

Sure, you just need to use our system functions in scripting to create the file:filePath = .... # from your code system.file.writeFile(filePath, '')That will create the file if it doesn’t exist and overwrite it if it does.