File_SetPath(ByRef PathString As Dword), Byte
|
Parameter |
Description |
|
PathString |
source string buffer array — a string variable is required here, since ByRef passes its address automatically |
|
Return value |
0 if all OK |
1 if a segment wasn't found
Sets the current directory by walking PathString, failing if any segment doesn't already exist (no directories are created).
PathString may be absolute "/LOGS/2026/07" or relative "2026/07", created inside whatever's current.
|
Dim sTemp As String * 20 'Create string array variable sTemp = "/Log/2026/New" 'Place some path in this string variable File_SetPath(sTemp) 'Walk the path and set the last folder as active |
Created with the Personal Edition of HelpNDoc: Make Help Documentation a Breeze with a Help Authoring Tool