BCX Console Demonstration Program s122.bas |
CONST SplitPath = _splitpath ' << This is contained in stdlib.h DIM a$, b$, c$, d$, e$ a$ = "C:\some\phony\dummy\folder\FakeFileName.txt" SplitPath(a$, b$, c$, d$, e$) ? "Orig Full Path .. : ", a$ ? "Drive Letter .... : ", b$ ? "Path ............ : ", c$ ? "Filename ........ : ", d$ ? "Extension ....... : ", e$