I am getting an error (1022). I am simply copying a file to the Images folder and renaming it along the way.
Code:
StrSplitPath = String.SplitPath(result[1]); File.Copy(result[1], "AutoPlay\\Images\\CompanyLogo"..StrSplitPath.Extension, false, true, false, true, nil);