Thanks for the replies/suggestions.  Looks like I may need to upgrade from 
v1.1, but:

cd \"program files", "\program files", and \program?files give a variant of

PyMOL>cd \"program files"
Traceback (most recent call last):
  File "C:\Program Files\DeLano Scientific\PyMOL/modules\pymol\externing.py", 
line 46, in cd
    os.chdir(dir)  # raises on error
OSError: [Errno 22] Invalid argument: '\\"program files"'


cd \progra~1 does work, however.
Pymol 1.1r1 running on Vista (32-bit) Business.

-David

-----Original Message-----
From: Edward A. Berry [mailto:ber...@upstate.edu]
Sent: Mon 9/20/2010 2:03 PM
Cc: pymol-users@lists.sourceforge.net
Subject: Re: [PyMOL] cd in windows
 
David A. Horita wrote:
> Hi,
> How does one change directories in Windows when the directory name has a
> space in it? I've tried double and single quotes as well as backslash
> space (I'd like to run a script that's in such a directory).
> Thanks
> David

These all work for me:
 >cd \"program files"

 >cd "\program files"

 >cd \program?files

 >dir/x \prog*
06/05/2010  10:02p      <DIR>          PROGRA~1
 >cd \progra~1

Or run in your data directory using full path of the executable:
 >\"program files"\seamonkey\seamonkey.exe

(seamonkey is artemia the brine shrimp, you understand.
Diminutive alternative to thunderbird and firefox)

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to