Cakdir3.Utils
Declaring type: Utils
Namespace: Cake3
Assembly: Cake3
Collapse/Expand Public Constructors
  Name Description
Public Method Utils

There is no summary.

Collapse/Expand Public Methods
  Name Description
Public Method Static AppendFrontSlash Add a slash "\" to front of input if not exists.
Public Method Static AppendSlash Add a slash "\" to end of input if not exists.
Public Method Static AssociatePrograms Registers a file type via it's extension. If the file type is already registered, nothing is changed.
Public Method Static DirectoryExists Return whether the specified directory exits.
Public Method Static DosDateToDateTime Overloaded. Convert a Dos datetime to Datetime.
Public Method Static ExploreDirectory Explore a directory in a explorer window.
Public Method Static ExtractFileExt Return file extension.
Public Method Static ExtractFileName Return filename.
Public Method Static ExtractFilePath Return file path.
Public Method Static ExtractFirstDir Return the first directory found from the input. (E.g. ExtractFirstDir("\temp\1\2",0) will return "Temp")
Public Method Static FileExists Return whether the specified file exits.
Public Method Static GetArchiveTempPath Return %Temp%\%archive%.
Public Method Static GetCurrentPath Return current path.
Public Method Static GetDesktopPath Return Desktop path.
Public Method Static GetFileDrive Return file drive.
Public Method Static GetFileInfo Return a FileInfo object of the specified file.
Public Method Static GetFileList Get a list of file in specified path.
Public Method Static GetFileSize Return file size of the specified file.
Public Method Static GetFileType Return file type of the specified file.
Public Method Static GetLargeFileIcon Return large file icon of the specified file.
Public Method Static GetMydocuPath Return Mydocument path.
Public Method Static GetProgramPath Return ProgramFiles path.
Public Method Static GetSmallFileIcon Return small file icon of the specified file.
Public Method Static GetSystemPath Return Windows system path.
Public Method Static GetTempPath Return Temp path.
Public Method Static HighestCommonFolder Return a common folder so that all files is under that common folder. (e.g. C:\1\2, C:\1\3 will return "C:\1")
Public Method Static KtoSize Convert Kb string to size (int), which is usable by computer.
Public Method Static MakeDirectory Create a directory.
Public Method Static MatchMask Return whether the text match a mask.
Public Method Static MatchPath Return whether a filename match the path.
Public Method Static MoveFile Move a file.
Public Method Static OpenDirectory Open a directory in a explorer window.
Public Method Static ParsePChar Parse Pchar, this function is unused.
Public Method Static PollDirList Get a list of folder in specified foldername. (Mask supported)
Public Method Static PollFileList Get a list of file in specified foldername. (Mask supported)
Public Method Static RemoveDirectory Remove a directory.
Public Method Static RemoveFile Remove a file.
Public Method Static RemoveFileDrive Remove file drive and return the value.
Public Method Static RemoveFileExt Remove file extension and return the value.
Public Method Static RemoveFrontSlash Remove a slash "\" from the front of input if exists.
Public Method Static RemoveSlash Remove slash end of input.
Public Method Static Run Run (execute) a file.
Public Method Static RunAndWait Run a file and freeze till it's completed.
Public Method Static RunDos Run a dos executable and capture it's output.
Public Method Static ShowAboutCAKE About message.
Public Method Static SizeInK Convert size (int) to Kb string more readable to human.
Public Method Static verifyDllPath Overloaded. Return whether the specified dll exists.