Difference between revisions of "Cd"

From PyMOLWiki
Jump to navigation Jump to search
(New page: == DESCRIPTION == Changes PyMOL's current working directory. This useful command allows the user to set the current working directory without having to leave PyMOL. == USAGE == <source lang="python">...)
 
 
Line 2: Line 2:
 
Changes PyMOL's current working directory.  This useful command allows the user to set the current working directory without having to leave PyMOL.
 
Changes PyMOL's current working directory.  This useful command allows the user to set the current working directory without having to leave PyMOL.
  
 +
See examples below for using spaces in pathnames on Windows.
  
 
== USAGE ==
 
== USAGE ==
Line 16: Line 17:
 
# go to /tmp
 
# go to /tmp
 
cd /tmp
 
cd /tmp
 +
 +
# examples of spaces on Windows
 +
cd \"program files"
 +
 +
cd "\program files"
 +
 +
cd \program?files
 
</source>
 
</source>
 +
 +
[[Category:Commands]]

Latest revision as of 14:46, 20 September 2010

DESCRIPTION

Changes PyMOL's current working directory. This useful command allows the user to set the current working directory without having to leave PyMOL.

See examples below for using spaces in pathnames on Windows.

USAGE

cd DIR_NAME

where DIR_NAME is some directory.

EXAMPLES

# go to my home directory
cd ~

# go to /tmp
cd /tmp

# examples of spaces on Windows
cd \"program files"

cd "\program files"

cd \program?files