I am trying to write a hotkeyed command to copy the file in focus to the current path. Can some kind soul please explain why this fails (the Debugger seems to have no issue with it)?
@var $file = GetSourceFocusPath();
@var $path = PathGetPathPart($file);
@var $name = PathGetNamePart($file, 1);
@var $ext = PathGetFileExtPart($file);
@var $copytext = $path + $name + " - Copy" + $ext;
CopyFile($path, $copytext);