TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: SMadsen on February 05, 2004, 12:36:32 PM

Title: File name components
Post by: SMadsen 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")
Title: File name components
Post by: daron on February 05, 2004, 12:43:25 PM
Now that's neat.
Title: File name components
Post by: Mark on February 05, 2004, 12:55:08 PM
Excellent!
Title: File name components
Post by: JohnK on February 05, 2004, 01:02:33 PM
Cool! Good find Stig.