public static string MakeFileNameFromExecutablePath(string ext) { string fileName = EnvironmentLibs.GetExecuteFullPath(); string tmp1 = FileNamePath(fileName); string tmp2 = FileNameOnly(fileName) + ext; return(MakeFileName(tmp1, tmp2)); }
public static string GetFullPath(string fileName) { if (fileName.Trim() == "") { return(""); } fileName = FileNameOnly(fileName) + FileExtension(fileName); return(MakeFileName(EnvironmentLibs.GetExecutePath(), fileName)); }
public static string MakeRelativePath(string fileName) { return(MakeRelativePath(EnvironmentLibs.GetExecutePath(), fileName)); }