File_ChDirRoot()

Parent Previous Next

Syntax

File_ChDirRoot()

       

Jumps directly to the root directory


Jumps directly to the root directory, regardless of current depth. Mirrors the tail of FAT_ChDir() but targets the known root location instead of searching for a name by it.

Example

    Dim sTemp As String * 20        'Create string array variable    

    sTemp = "/Log/2026/New"         'Place some path in this string variable

    File_MkPath(sTemp)              'Create all sub-folders and set the last as active

    File_ChDirRoot()                'Return to root directory

Created with the Personal Edition of HelpNDoc: Converting Word Documents to eBooks: A Step-by-Step Guide with HelpNDoc