Yes/No Box?

BlitzMax Forums/BlitzMax Programming/Yes/No Box?


But let me ask this instead, how do you strip a path from a filename?

ie. C:/projects/tony/Orbicus/savedata/save1.dat


Not sure whether you want to retain the filename or the path...

f$ = "C:/projects/tony/Orbicus/savedata/save1.dat"
dir$ = ExtractDir (f$)
file$ = StripDir (f$)