Multi Commander Support Forum

Multi Commander => Script => Topic started by: Tezcatlipoca on November 12, 2015, 02:05:07

Title: Script engine error
Post by: Tezcatlipoca on November 12, 2015, 02:05:07
Script engine error => No matching function with name "AddFileAttribute" found.

Not found:

need import the desired function?
Title: Re: Script engine error
Post by: Mathias (Author) on November 12, 2015, 07:42:10
It works


Code: [Select]
@var $part = PathGetPathPart("C:\\Temp\\MyFile.txt");
MessageBox("Msg", $part, 0);
Title: Re: Script engine error
Post by: Mathias (Author) on November 12, 2015, 07:53:14
Ahh on the attributes functions you are missing a 's'  Attributes..  So  AddFileAttributes/SetFileAttributes and so on
But PathGetPathPart,PathGetNamePart is correct so they should work