hello,
I'm having hard time trying to create a simple .ini file
I know how to read or write an existing file but cannot achieve to create a new one...
var path_file_daz_ini = " B:\\- ALBUM -\\Page 03\\5.Obj\\p03c08_joao.ini"
function create_daz_ini(srcFilePath) {
var srcFile = new DzFile(srcFilePath);
print (srcFilePath)
if (!srcFile.open(DzFile.ReadOnly)) {
MessageBox.critical("Could not open file.", "Open File", "&OK", "");
return;
}
srcFile.close();
}
create_daz_ini(path_file_daz_ini)
thanks for your help