Open File Location with commas in dwg name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am aware of the option to right-click the tab of the drawing I am working in to open up Windows Explorer and it works fine, but for years I have been using a lisp routine that was on here. But we changed the format of some of our drawing names to work with our databases and now some of have a lengthy drawing name with commas and this lisp routine doesn't work anymore for some drawings. Is there any way to update this lisp to make it work like it is, and add something about the commas or spaces in a drawing? Note the space between the comma for Street and year. The space indicates misc info that can easily be deleted, doesn't have to be a date.
(defun c:FL () (startapp (strcat "explorer /select, " (getvar "dwgprefix") (getvar "dwgname") ", /e")) (princ))
It only doesn't work when I have two different drawing names for example
00000,xxx,lot 22,Civic 22,99999,1-1-1,Street, YYYY MM DD.dwg
00000,P#xxxxx,99999,1-1-1,Street, YYYY MM DD.dwg