1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
2 |
"http://www.w3.org/TR/html4/strict.dtd"> |
"http://www.w3.org/TR/html4/strict.dtd"> |
3 |
<html> |
<html> |
4 |
<head> |
<head> |
5 |
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> |
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> |
6 |
<title>filecopy</title> |
<title>filecopy</title> |
7 |
<meta http-equiv="Content-Style-Type" content="text/css"> |
<meta http-equiv="Content-Style-Type" content="text/css"> |
8 |
<link rel="stylesheet" href="../../style.css" type="text/css"> |
<link rel="stylesheet" href="../../style.css" type="text/css"> |
9 |
</head> |
</head> |
10 |
|
|
11 |
<body> |
<body> |
12 |
|
|
13 |
|
|
14 |
<h1>filecopy</h1> |
<h1>filecopy</h1> |
15 |
|
|
16 |
<p> |
<p> |
17 |
ファイルをコピーする。 |
ファイルをコピーする。 |
18 |
</p> |
</p> |
19 |
|
|
20 |
<pre class="macro-syntax"> |
<pre class="macro-syntax"> |
21 |
filecopy <file1> <file2> |
filecopy <file1> <file2> |
22 |
</pre> |
</pre> |
23 |
|
|
24 |
<h2>解説</h2> |
<h2>解説</h2> |
25 |
|
|
26 |
<p> |
<p> |
27 |
ファイル <file1> をコピーし、ファイル <file2> を作成する。<br> |
ファイル <file1> をコピーし、ファイル <file2> を作成する。<br> |
28 |
<file2> がすでに存在する場合は上書きされる。<file1> と <file2> は違う名前でなければならない。<br> |
<file2> がすでに存在する場合は上書きされる。<file1> と <file2> は違う名前でなければならない。<br> |
29 |
ファイルの削除が成功した場合、システム変数 result に 0 が格納される。それ以外の場合, result に 0 以外が格納される。 |
ファイルの削除が成功した場合、システム変数 result に 0 が格納される。それ以外の場合, result に 0 以外が格納される。 |
30 |
</p> |
</p> |
31 |
|
|
32 |
<h2>例</h2> |
<h2>例</h2> |
33 |
|
|
34 |
<pre class="macro-example"> |
<pre class="macro-example"> |
35 |
filecopy 'test.dat' 'test2.dat' |
filecopy 'test.dat' 'test2.dat' |
36 |
</pre> |
</pre> |
37 |
|
|
38 |
</body> |
</body> |
39 |
</html> |
</html> |