News:

MultiCommander v16.6 is released!

Main Menu

Script engine error

Started by Tezcatlipoca, November 12, 2015, 02:05:07

Previous topic - Next topic

Tezcatlipoca

Script engine error => No matching function with name "AddFileAttribute" found.

Not found:

  • AddFileAttribute()
  • SetFileAttribute()
  • GetFileAttribute()
  • PathGetPathPart()
  • PathGetNamePart()
  • and etc.

need import the desired function?

Mathias (Author)

It works


@var $part = PathGetPathPart("C:\\Temp\\MyFile.txt");
MessageBox("Msg", $part, 0);

Mathias (Author)

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