[jawsscripts] Re: RUN function in JAWS Basic

  • From: Soronel Haetir <soronel.haetir@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Thu, 14 Nov 2013 20:40:01 -0900

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
>
>


-- 
Soronel Haetir
soronel.haetir@xxxxxxxxx
__________�

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: