Ejemplo n.º 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));
        }
Ejemplo n.º 2
0
 public static string GetFullPath(string fileName)
 {
     if (fileName.Trim() == "")
     {
         return("");
     }
     fileName = FileNameOnly(fileName) + FileExtension(fileName);
     return(MakeFileName(EnvironmentLibs.GetExecutePath(), fileName));
 }
Ejemplo n.º 3
0
 public static string MakeRelativePath(string fileName)
 {
     return(MakeRelativePath(EnvironmentLibs.GetExecutePath(), fileName));
 }