home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
CLIPPER
/
DIRFUN
/
TEST.PRG
< prev
Wrap
Text File
|
1993-11-28
|
341b
|
22 lines
cls
? 'File = '
?? cFile := 'c:\bum\titi\bum\titi\bum\titi.bum'
?
? ' Drv = '
?? pathsplit(cFile,1) // Get drive
? 'Path = '
?? pathsplit(cFile,2) // Get path
? 'Name = '
?? pathsplit(cFile,3) // get name
? ' Ext = '
?? pathsplit(cFile,4) // get ext
? mkdirs(pathsplit(cFile,2))
? rmdirs(pathsplit(cFile,2))