Author Topic: File name components  (Read 4277 times)

0 Members and 1 Guest are viewing this topic.

SMadsen

  • Guest
File name components
« on: February 05, 2004, 12:36:32 PM »
Just stumpled upon a function in A2K4 that's been undocumented since R14. Splits a filename into path, filename base and extension:

(fnsplitl "C:\\ACAD2000\\Drawing1.dwg")
("C:\\ACAD2000\\" "Drawing1" ".dwg")

daron

  • Guest
File name components
« Reply #1 on: February 05, 2004, 12:43:25 PM »
Now that's neat.

Mark

  • Custom Title
  • Seagull
  • Posts: 28753
File name components
« Reply #2 on: February 05, 2004, 12:55:08 PM »
Excellent!
TheSwamp.org  (serving the CAD community since 2003)

JohnK

  • Administrator
  • Seagull
  • Posts: 10605
File name components
« Reply #3 on: February 05, 2004, 01:02:33 PM »
Cool! Good find Stig.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org