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