---
title: 【FAQ_1526】マップキーでのパージ実行方法
description: コマンドプロンプトからpurgeコマンドを実行してファイルの一括パージを行いたいのですが、うまくいきません。またサブディレクトリを含めて一括パージする方法はありますか。Creo Parametricのマップキー（操作マクロ）にpurgeコ…
---

[コンテンツまでスキップ](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/マップキーでのパージ実行方法#main-content)

日本語 - 日本

翻訳のサブメニューを表示

![アシストエンジニア](https://support.assistengineer.com/hs-fs/hubfs/%E3%82%A2%E3%82%B7%E3%82%B9%E3%83%88%E3%83%AD%E3%82%B4.png?width=494&height=64&name=%E3%82%A2%E3%82%B7%E3%82%B9%E3%83%88%E3%83%AD%E3%82%B4.png)

- ホーム
- 製品
- 価格
- ブログ
- 会社

メインナビゲーションを開く

メインナビゲーションを閉じる

- ホーム
- 製品
- 価格
- ブログ
- 会社
- 日本語 - 日本
  
  翻訳のサブメニューを表示
- [お問い合わせ](https://share-na2.hsforms.com/2EM4y3pr-RQu57xIXla3qTg41tzyq)

[お問い合わせ](https://share-na2.hsforms.com/2EM4y3pr-RQu57xIXla3qTg41tzyq)

 何かお困りですか？

- 検索フィールドが空なので、候補はありません。

1. [アシストエンジニア ナレッジベース](https://support.assistengineer.com/ja-jp/assistengineer-knowledge?hsLang=ja-jp)
2. [Creo Parametric](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp)
3. [データ管理](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E7%AE%A1%E7%90%86)

# 【FAQ\_1526】マップキーでのパージ実行方法

## コマンドプロンプトからpurgeコマンドを実行してファイルの一括パージを行いたいのですが、うまくいきません。またサブディレクトリを含めて一括パージする方法はありますか。

Creo Parametricのマップキー（操作マクロ）にpurgeコマンドを登録して使用する方法をお勧めします。手順は、「ファイル」＞「オプション」＞「環境」＞「マップキー設定」＞「新規」から、キーシーケンスに「purge」、OSスクリプトに「purge &」を入力して登録し、「マップキーを保存」＞「すべて」でconfig.proに保存します。登録後は、ワーキングディレクトリを設定した状態でマップキーを実行すると、そのディレクトリ内でパージが行われます。なお、サブフォルダーを含めて自動的にパージする機能はCreo Parametricにはなく、対応するには別途バッチファイル等を自作する必要があります。

- [Creo Parametric](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#main-content)

    - [アセンブリ](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%82%A2%E3%82%BB%E3%83%B3%E3%83%96%E3%83%AA)
    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [スケッチ](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%82%B9%E3%82%B1%E3%83%83%E3%83%81)
    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
    - [データ管理](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E7%AE%A1%E7%90%86)
    - [データ変換](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E5%A4%89%E6%8F%9B)
    - [モデリング](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%83%A2%E3%83%87%E3%83%AA%E3%83%B3%E3%82%B0)
    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [解析](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E8%A7%A3%E6%9E%90)
    - [図面＆印刷](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E5%9B%B3%E9%9D%A2%E5%8D%B0%E5%88%B7)
    - [製造](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E8%A3%BD%E9%80%A0)
    - [板金](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-parametric?hsLang=ja-jp#%E6%9D%BF%E9%87%91)
- [Creo Elements/Direct](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#main-content)

    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [データ変換](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E5%A4%89%E6%8F%9B)
    - [データ管理](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E7%AE%A1%E7%90%86)
    - [アセンブリ](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%82%A2%E3%82%BB%E3%83%B3%E3%83%96%E3%83%AA)
    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
    - [モデリング](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%83%A2%E3%83%87%E3%83%AA%E3%83%B3%E3%82%B0)
    - [図面＆印刷](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E5%9B%B3%E9%9D%A2%E5%8D%B0%E5%88%B7)
    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [スケッチ](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E3%82%B9%E3%82%B1%E3%83%83%E3%83%81)
    - [解析](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-elements-direct?hsLang=ja-jp#%E8%A7%A3%E6%9E%90)
- [Creo View](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#main-content)

    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
    - [解析](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E8%A7%A3%E6%9E%90)
    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [モデリング](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E3%83%A2%E3%83%87%E3%83%AA%E3%83%B3%E3%82%B0)
    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [データ変換](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E5%A4%89%E6%8F%9B)
    - [図面＆印刷](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-view?hsLang=ja-jp#%E5%9B%B3%E9%9D%A2%E5%8D%B0%E5%88%B7)
- [Creo Simulate](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#main-content)

    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [データ変換](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E5%A4%89%E6%8F%9B)
    - [解析](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#%E8%A7%A3%E6%9E%90)
    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [スケッチ](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#%E3%82%B9%E3%82%B1%E3%83%83%E3%83%81)
    - [モデリング](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/creo-simulate?hsLang=ja-jp#%E3%83%A2%E3%83%87%E3%83%AA%E3%83%B3%E3%82%B0)
- [Mathcad](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/mathcad?hsLang=ja-jp#main-content)

    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/mathcad?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/mathcad?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [解析](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/mathcad?hsLang=ja-jp#%E8%A7%A3%E6%9E%90)
    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/mathcad?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
- [Windchill](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#main-content)

    - [データ変換](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E5%A4%89%E6%8F%9B)
    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
    - [データ管理](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E7%AE%A1%E7%90%86)
    - [モデリング](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E3%83%A2%E3%83%87%E3%83%AA%E3%83%B3%E3%82%B0)
    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [図面＆印刷](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/windchill?hsLang=ja-jp#%E5%9B%B3%E9%9D%A2%E5%8D%B0%E5%88%B7)
- [Arbortext](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/arbortext?hsLang=ja-jp#main-content)

    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/arbortext?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/arbortext?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/arbortext?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
- [その他](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/%E3%81%9D%E3%81%AE%E4%BB%96?hsLang=ja-jp#main-content)

    - [データ管理](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/%E3%81%9D%E3%81%AE%E4%BB%96?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E7%AE%A1%E7%90%86)
    - [ライセンス](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/%E3%81%9D%E3%81%AE%E4%BB%96?hsLang=ja-jp#%E3%83%A9%E3%82%A4%E3%82%BB%E3%83%B3%E3%82%B9)
    - [インストール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/%E3%81%9D%E3%81%AE%E4%BB%96?hsLang=ja-jp#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB)
    - [その他モジュール](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/%E3%81%9D%E3%81%AE%E4%BB%96?hsLang=ja-jp#%E3%81%9D%E3%81%AE%E4%BB%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB)
    - [データ変換](https://support.assistengineer.com/ja-jp/assistengineer-knowledge/%E3%81%9D%E3%81%AE%E4%BB%96?hsLang=ja-jp#%E3%83%87%E3%83%BC%E3%82%BF%E5%A4%89%E6%8F%9B)

- ホーム
- 製品
- 価格
- ブログ
- 会社

[![アシストエンジニア](https://support.assistengineer.com/hs-fs/hubfs/%E3%82%A2%E3%82%B7%E3%82%B9%E3%83%88%E3%83%AD%E3%82%B4.png?width=494&height=64&name=%E3%82%A2%E3%82%B7%E3%82%B9%E3%83%88%E3%83%AD%E3%82%B4.png "アシストエンジニア")](https://assistengineer.com/)

<https://www.facebook.com/> <https://www.twitter.com/> <https://www.instagram.com/> <https://podcasts.apple.com/> [mailto:email@email.com](mailto:email@email.com)

Copyright © 2026, 株式会社アシストエンジニア