Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/doc/en/html/macro/command/filerename.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3227 - (show annotations) (download) (as text)
Tue Mar 24 15:10:33 2009 UTC (15 years, 2 months ago) by maya
File MIME type: text/html
File size: 861 byte(s)
CVS から SVN へ移行: 改行コードを LF から CR+LF へ変換
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html>
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6 <title>filerename</title>
7 <meta http-equiv="Content-Style-Type" content="text/css">
8 <link rel="stylesheet" href="../../style.css" type="text/css">
9 </head>
10
11 <body>
12
13
14 <h1>filerename</h1>
15
16 <p>
17 Renames a file.
18 </p>
19
20 <pre class="macro-syntax">
21 filerename &lt;file1&gt; &lt;file2&gt;
22 </pre>
23
24 <h2>Remarks</h2>
25
26 <p>
27 Renames &lt;file1&gt; to &lt;file2&gt;.<br>
28 &lt;file1&gt; and &lt;file2&gt; must not be same.<br>
29 If the file is renamed successfully, the system variable "result" is set to 0. Otherwise, "result" is set to non-zero.
30 </p>
31
32 <h2>Example</h2>
33
34 <pre class="macro-example">
35 filerename 'test.dat' test2.dat'
36 </pre>
37
38 </body>
39 </html>

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26