Good evening All you need to do is place \" at the beginning and end of your quoted string. the run command is the same as typing something into the Windows Run box. You need to quote the command in that box if it contains spaces. See below: Run("\"C:\\Documents and Settings\\Jones\\Application Data\\Freedom Scientific\\JAWS\\9.0\\Settings\\enu\\Delete_pdf.exe\"") HTH, Everett ----- Original Message ----- From: "jaws tech" <jawsmaster@xxxxxxxxx> To: <jawsscripts@xxxxxxxxxxxxx> Sent: Tuesday, December 30, 2008 7: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