Builds a file path from a folder and a file.
A file path.
If the folder path does not end with a backslash (\), it is appended.
If unique is true, a serial number is appended to the filename. This serial number is incremented until a file with that name does not exist in the folder.
string filename = FileUtil.MakePath("c:\sitecore\client\images", "images.gif");
// c:\sitecore\client\images\images_001.gif
MainUtil Class | Sitecore Namespace | MainUtil.MakeFilePath Overload List