This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

RenameDirectory

RenameDirectory
renames the directory to .
  • must already exist; must not.
Copy a directory:
List of files in the directory:
Rename the directory:
Delete the directory:
Copy a directory:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=
List of files in the directory:
In[4]:=
Click for copyable input
Out[4]=
Rename the directory:
In[5]:=
Click for copyable input
In[6]:=
Click for copyable input
Out[6]=
In[7]:=
Click for copyable input
Out[7]=
In[8]:=
Click for copyable input
Out[8]=
Delete the directory:
In[9]:=
Click for copyable input
New in 2