예제 #1
0
        public static string MakeFileNameFromExecutablePath(string ext)
        {
            string fileName = EnvironmentLibs.GetExecuteFullPath();
            string tmp1     = FileNamePath(fileName);
            string tmp2     = FileNameOnly(fileName) + ext;

            return(MakeFileName(tmp1, tmp2));
        }
예제 #2
0
 public static string GetFullPath(string fileName)
 {
     if (fileName.Trim() == "")
     {
         return("");
     }
     fileName = FileNameOnly(fileName) + FileExtension(fileName);
     return(MakeFileName(EnvironmentLibs.GetExecutePath(), fileName));
 }
예제 #3
0
 public static string MakeRelativePath(string fileName)
 {
     return(MakeRelativePath(EnvironmentLibs.GetExecutePath(), fileName));
 }