From: Chang, Christopher (Christopher_Chang_at_nrel.gov)
Date: Thu Nov 09 2006 - 14:20:16 CST

Hey Guys,

   Thanks for the tips--I found the following combinations to work best
for me.

> 1. Change the default starting directory on a Windows machine? The
> solution posted previously for an earlier version (adding a cd command

> to vmd.rc) doesn't seem to work.

I should have been editing vmd.rc instead, so at the end I put e.g.,

cd c:Documents\ and\ Settings/cchang/Desktop

> 2. Use Firefox as a default Web browser? I don't know how to handle
> spaces in vmdinit.tcl, so I get error messages about not finding
> "c:/Program".

Dan's solution works, with the addition of backslashes to make the
spaces literal, i.e. in vmdinit.tcl:

set env(VMDHTMLVIEWER) {c:/Program\ Files/Mozilla\ Firefox/firefox.exe
-remote openURL(%s,new-window)}

Again, thanks for the help!

Chris

> -----Original Message-----
> From: dan wright [mailto:dtwright_at_uiuc.edu]
> Sent: Thursday, November 09, 2006 6:47 AM
> To: Jacob Poehlsgaard
> Cc: Chang, Christopher; VMD
> Subject: Re: vmd-l: VMD 1.8.5 startup
>
> Jacob Poehlsgaard wrote:
> >> 2. Use Firefox as a default Web browser? I don't know how to handle
> >> spaces in vmdinit.tcl, so I get error messages about not finding
> >> "c:/Program".
> >
> > Maybe you could get around this with a shortcut as well?
> I'm having a
> > lot of problems with folders with spaces and TCL too :(
>
> If you use braces around the path it should behave:
>
> {C:/Program Files/Firefox/Firefox.exe}
>
> for example.
>
> Dan
>