Oops,sorry I just get solution,here new that code.
(defun c:test (/ dcl_id file_folder all_file_name name lst ans sf nf xf ?f file)
(setq dfnc (load_dialog "Display File Name Completed-1.dcl"))
(if
(not (new_dialog "dfnc1" dfnc))
(exit)
) ; if
(vl-load-com)
(setq file_folder "D:/YBI/Program/AutoLisp/Lisp program/My Alls Program")
(setq all_file_name (cddr (vl-directory-files file_folder)))
(setq all_file_name
(mapcar '(lambda (x)(nth x all_file_name))
(vl-sort-i all_file_name '<)))
(foreach file_name all_file_name
(setq name (cons (substr file_name 6 50) name))
) ; foreach
(setq lst (acad_strlsort (reverse name)))
(start_list "lba")
(mapcar 'add_list lst)
(end_list)
(mode_tile "lba" 2)
(action_tile
"lba"
"(setq data_name (nth (atoi $value) lst)) ")
(action_tile
"rtn"
"(c:test)") ; 1).
(action_tile "ext" "(exit)")
(setq ans (start_dialog))
(unload_dialog dfn)
(if
(= ans 1)
(progn
(setq sf data_name)
(foreach x all_file_name
(setq nf x)
(setq xf (vl-string-right-trim sf nf))
(setq ?f (vl-string-left-trim xf nf))
(if
(= ?f sf)
(setq file nf)
) ; if
) ; foreach
) ; progn
) ; if
(setq dfnc (load_dialog "Display File Name Completed-1.dcl"))
(if
(not (new_dialog "dfnc1" dfnc))
(exit)
) ; if
(start_list "lba")
(mapcar 'add_list lst)
(end_list)
(start_list "lbb")
(mapcar 'add_list (list file))
(end_list)
(action_tile
"rtn"
"(c:test)") ; 1).
(action_tile "ext" "(exit)")
(action_tile
"chk"
"(start_list \"lba\")
(mapcar 'add_list lst)
(end_list)
(start_list \"lbb\")
(mapcar 'add_list (list file))
(end_list)")
(setq ans (start_dialog))
(unload_dialog dfnc)
(princ)
) ; defun