Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've made a small program to open a help file. But it can open only a file with an exact file name.
Currently: AutoLISP_programs.pdf
But I want to store the files with revisions like: AutoLISP_programs_v000.pdf, AutoLISP_programs_v001.pdf ....
Is it somehow possible to read all the files what are in this folder, somehow read the names and check which is the highest version and open this file?
(defun C:open_help (/)
(vl-load-com)
(vl-cmdf
"start"
"c:\\Acad_2015_Profile\\Programs\\Lisp\\HELP\\AutoLISP_programs.pdf"
)
) ;defun
Solved! Go to Solution.