[jawsscripts] Re: Run command with spaces

  • From: "Martin Slack" <m.g.slack@xxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Tue, 30 Dec 2008 23:24:58 -0000

The Run command doesn't understand long file names.  The microsoft way to 
shorten them is shown below (assuming each folder / file is the first one in 
alphabetic order):

Run("C:\\Docume~1\\Jones\\Applic~1\\Freedo~1\\JAWS\\9.0\\Settings\\enu\\Delete~1.exe")

  hth

Martin



----- Original Message ----- 
From: "jaws tech" <jawsmaster@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, December 30, 2008 11:10 PM
Subject: [jawsscripts] Re: Run command with spaces


> Wow.  I am really confused by some of the syntax being given here, such 
> as:
> Run("\"" + "command here" + "\"")
> I understand the use of double quotes within the outer quotes but this
> doesn't seem consistent with other
> languages that I've used.
>
> Anyway, I have tried several permutations based on the answers already 
> given
> and none seem to work.
> My command is given below.  If someone could please help me understand by
> putting this into the proper
> format it would be greatly appreciated.  It will probably sink in once I 
> see
> it done in full.
>
> *
>
> Run("C:\\Documents and Settings\\Jones\\Application Data\\Freedom
> Scientific\\JAWS\\9.0\\Settings\\enu\\Delete_pdf.exe")
> *
> Thanks.
> On Tue, Dec 30, 2008 at 5:26 PM, Jim Bauer <holdsworthfan@xxxxxx> wrote:
>
>> The string needs to be enclosed in backslash-escaped quotes
>> (\"<pathString>\").
>>
>> Original message
>> from: "jaws tech" <jawsmaster@xxxxxxxxx>
>> subject: [jawsscripts] Run command with spaces
>> date: Tue, 30 Dec 2008 17:16:19 -0500
>>
>> >Is it possible to use the run command on an executable that is in a path
>> >that contains spaces??  So
>> >far it is not working for me unless I am missing something.
>> >Thanks.
>> >
>> >
>> >__________
>>  >Visit and contribute to The JAWS Script Repository
>> http://jawsscripts.com
>> >
>> >View the list's information and change your settings at
>> >http://www.freelists.org/list/jawsscripts
>>
>> __________
>> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>>
>> View the list's information and change your settings at
>> http://www.freelists.org/list/jawsscripts
>>
>>
>
>
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>
> 


__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: