Multi Commander Support Forum
Multi Commander => Script => Topic started by: Tezcatlipoca on November 12, 2015, 02:05:07
-
Script engine error => No matching function with name "AddFileAttribute" found.
Not found:
- AddFileAttribute()
- SetFileAttribute()
- GetFileAttribute()
- PathGetPathPart()
- PathGetNamePart()
- and etc.
need import the desired function?
-
It works
@var $part = PathGetPathPart("C:\\Temp\\MyFile.txt");
MessageBox("Msg", $part, 0);
-
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