I was able to solve the problem by replacing my path with the non-space equivalents so I wouldn't need to put the extra quotes around it, which is definitely what was throwing things off.
So now my preferences says: \viewer "pdf2" "F:\Progra~1\Adobe\Acroba~2.0\Reader\acrord32.exe" All files and directories with spaces in Windows also have some non-space 8.3 alias. So that's all I had to do. Thanks for the help everyone, Mark On 9/9/05, Stephen P. Harris <[EMAIL PROTECTED]> wrote: > > ----- Original Message ----- > From: "Jean-Marc Lasgouttes" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: "Stephen P. Harris" <[EMAIL PROTECTED]>; > <lyx-users@lists.lyx.org> > Sent: Friday, September 09, 2005 1:22 AM > Subject: Re: LyX doesn't store my PDF viewer info > > > >>>>>> "Mark" == Mark Engelberg <[EMAIL PROTECTED]> writes: > > > > Mark> I am using the full path name. When I set the preferences file > > Mark> to: "F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe" > > Mark> then everything works for the duration of that LyX session. > > > > Mark> But when I exit the program, and reenter the program, no viewer > > Mark> is listed when I select "Edit->Preferences" and look under PDF. > > Mark> However, the viewer IS listed in the actual preferences file. > > Mark> For some reason, LyX is failing to load this preference from the > > Mark> file. > > > > The problem is that the name will be saved as something like > > \viewer ""F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe"" > > which means that the " quotes are not parsed correctly. We should > > escape these values. > > > > JMarc > > > > > > Windows provided quotes to get around paths that had directories > with spaces in them for a long time, which is now broken in LyX. > One way to get around it is to install in directories without spaces > because the path doesn't need to be quoted. > C:\reader7\Reader\AcroRd32.exe > > However the case of > ""{c:}F:\Program Files\Adobe\Acrobat 7.0\Reader\acrord32.exe"" > > In my experience this will work if the directories with spaces are > internally "directory" quoted, both program files and acrobat 7.0. > It took me 25 tedious minutes to get the syntax correct so that > isn't a solution. I seem to remember there was still some problem. > Also I did it with c:\documents and settings\.....\application data\ > > >