view docs/nitros9guide/rename.refentry @ 321:2c0ddf807efa

Made some changes
author boisy
date Tue, 23 Jul 2002 23:43:29 +0000
parents d9631713b7cd
children c565a4700689
line wrap: on
line source

<refentry id="rename">
<refnamediv>
<refname>RENAME</refname>
<refpurpose>Change file name</refpurpose>
</refnamediv>

<refsynopsisdiv>
<cmdsynopsis>
<command>RENAME</command>
<arg choice="plain">
  &replstart;path&replend;
</arg>
<arg choice="plain">
  &replstart;new name&replend;
</arg>
</cmdsynopsis>
</refsynopsisdiv>

<refsect1><title>Description</title>
<para>
Gives the mass storage file specified in the pathlist a new name.
The user must have write permission for the file to change its name.
It is not possible to change the names of devices, &quot;.&quot;, or
&quot;..&quot;
</para>
</refsect1>
<refsect1><title>Examples</title>
<literallayout>
rename blue purple

rename /D3/user9/test temp
</literallayout>

<screen>
OS9: dir

   Directory of .  16:22:53
myfile          animals

OS9:rename animals cars
OS9:dir

   Directory of .  16:23:22
myfile          cars
</screen>
</refsect1>
</refentry>