1 2 3 4 5 | // Open file (filename , File Access Mode) FileName : T_MaxString := 'filepath/file.txt'; // File name can contain an absolute or relative path to the file. Path entries must be separated with a Slash (/) END_VAR VAR FileNameWithoutFullPath := ReturnFileName( FileName ); |