Guys, thanks for your ideas, but they were no real solution of my problem. My app feeds itself from an INI file where user can store the pathes they wanted to be opened from a list, wich is displayed with the DlgSelectItemInList function. So I could not require my users to install a third party app or use old DOS commands to get the desired pathes. But the solution proposed by Doug is a very simple and well working one. So my users needs only to know that they write the pathes with double backslases. Cheers, Csaba 2013.11.15. 7:43 keltezéssel, Octavian Rasnita írta: > Another solution is to use the DOS command dir with the parameter /x, like: > > C:\> dir /x > > It will show the short names for all the directories and files under C:\. > > --Octavian > > ----- Original Message ----- > From: "Csaba Godo" <arpadhazi68.jawsul@xxxxxxxxx> > To: "JAWSScripts List" <jawsscripts@xxxxxxxxxxxxx> > Sent: Friday, November 15, 2013 7:13 AM > Subject: [jawsscripts] RUN function in JAWS Basic > > >> Hi everybody, >> >> I've just ran into a problem using the "Run" function. I thought I share >> my experience. The "Run" function takes only one parameter, which is a >> path. It could be a name of a file, or a complete path of an internet >> address. The documentation writes that this function acts like the "Run" >> dialog box in the Windows. But it is not mentioned that it could not >> accept long file or directory names. It could accept only the old short >> names. So if I want the directory "C:\Program Files" to open, I have to >> give "C:\\Progra~1" as parameter. Interesting stuff... no comment.. >> >> Just a question: How is it possible to get the short name of a file or a >> directory in JAWS Basic? Do somebody have any idea? >> >> Thanks, >> >> Csaba >> __________ďż˝ >> >> View the list's information and change your settings at >> http://www.freelists.org/list/jawsscripts >> > __________ďż˝ > > View the list's information and change your settings at > http://www.freelists.org/list/jawsscripts > __________ďż˝ View the list's information and change your settings at http://www.freelists.org/list/jawsscripts