In my project, I allow the user to browse for one or more files from his computer.
However, the table returns the full path for the file. Example:
I really need the filename only... Example:Code:file = Dialog.FileBrowse(true, "Select File", _DesktopFolder, "All Files (*.*)|*.*|", "", "unk", true, true); num = Table.Count(file); for n=1,num do StatusDlg.SetMeterPos(n); nm = String.Right(file[n], fn+1); StatusDlg.SetStatusText(n.." of "..num); --do my stuff... StatusDlg.SetMeterPos(n); end
pic1.jpg instead of C:\pic1.jpg. Is it possible? Thanks.

