---
title: "\u30D5\u30A1\u30A4\u30EB\u306E\u79FB\u52D5"
description: "\u30D1\u30BF\u30FC\u30F3\u306B\u4E00\u81F4\u3059\u308B\u30D5\u30A1\u30A4\u30EB\u3092\u79FB\u52D5\u3059\u308B Invantive Script \u30B9\u30C6\u30FC\u30C8\u30E1\u30F3\u30C8\u3002"
language: ja
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/ja/docs/invantive-script/statements/move-files
original: https://documentation.invantive.eu/en/docs/invantive-script/statements/move-files
updated: 2026-12-04T08:53:49Z
license: https://documentation.invantive.eu/ja/
---

# 構文
ファイルは次の構文を使用して移動できます:
```
local move files "SPECIFICATION" to "SPECIFICATION"
```
指定にはディレクトリパスを含めることができます。 ディレクトリパスが指定されていない場合は、現在の作業ディレクトリが使用されます。 指定には、次の特殊文字を使用したファイルパターンを含める必要があります:
- `*`: 任意の0、1、またはそれ以上の文字の並び。
- `?`: 任意の1文字。

# 例
次の例では、ファイル `c:\temp\temp1.bin` を `c:\temp\temp2.bin` に移動(名前変更)します:
```
local move files "c:\temp\temp1.bin" to "c:\temp\temp2.bin"
```
次の例では、拡張子が `.bin` で、名前が `temp` で始まるすべてのファイルを、フォルダー `c:\temp` から フォルダー `d:\temp` に移動します:
```
local move files "c:\temp\temp*.bin" to "d:\temp"
```
