wanted, code to get path from either filename or path\filename

new topic     » topic index » view thread      » older message » newer message

i want a procedure to take any of these data sequences: c:\test\t*.*
                                                          \test\
                                                          t*

and change it to this:  c:\test\

eg: path = t*.*
    p = pathonly(path)
    puts(1,p)

which should print c:\test

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu