Hi Haetir, You were right! The path should be escaped if it contains any space character. The "C:\\Program Files" was not accepted, but its escaped version, the "C:\\Program\32Files" was it. So I have to write a small routine, which replaces the space character to "\32". Thanks, Csaba from Hungary 2013.11.15. 6:40 keltezéssel, Soronel Haetir írta: > Did you try it with " characters around the path you want to run? > > Run("\"c:\\Some Path With Spaces\"") > > Or perhaps the spaces need to be escaped: > > Run("c:\\Some\ path\ with\ spaces") > > On 11/14/13, Csaba Godo <arpadhazi68.jawsul@xxxxxxxxx> wrote: >> 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