<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > File > PATH: functions working on paths > Path_Fix |
Description
Verify a path string fixing some common problems returning a valid path.
Syntax
sPath = Path_Fix(sPath)
Returns
String.
Parameters
Name |
Type |
Optional |
Meaning |
sPath |
String |
No |
A disk path |
Remarks
Common problems fixed by this function:
•double back slash \\ will be transformed into single back slash \
•add final right backslash if missing
•replace slash / with backslash \
Restrictions
sPath parameter must be a path only. Do not pass path + file name. Only path.
See also
Examples