# バイナリパス（クラシック）

とても大事な会議があるので、完了したと思ったら送ってください。 システムはバイナリパスを小文字で保存し、必要に応じて大文字から変換します。 フォルダ名の階層を区切るのにスラッシュ `/` を使用し、デバイスの基盤となるオペレーティングシステムの慣習に依存しません。

典型的なアプリケーションは通常、その実行可能なバイナリファイルをファイルシステムの標準的な場所にインストールします。これにはデバイスによる独立性があります。 例えば、システムはほとんどのソフトウェアアプリケーションを Windows デバイスの **Program Files** ディレクトリにインストールします。 複数もしくは通常でない場所から実行されるバイナリは、普通でない社員の行動、またはマルウェアの存在を示すことが多いです。

次のセクションでは、Nexthink が各バイナリに対して多すぎるパスを報告しないために使用するテクニックを学びます。 特別なカテゴリーに当てはまらないパスは、完全な形で保存されます。

### パスエイリアス <a href="#binarypaths-classic-pathaliases" id="binarypaths-classic-pathaliases"></a>

パスエイリアスは環境変数に似た形式を使用して、よく知られたディレクトリをキーワードに置き換えます。 この方法で、よく知られた場所のバイナリパスは言語に依存せず、バイナリがあるドライブに依存しなくなります。 たとえば、パス `D:\Program Files`（英語版）と `C:\Programme`（ドイツ語版）は、バイナリパスとして保存されるときに `%ProgramFiles%` になります。

バイナリパスの一般的なルールに反し、パスエイリアスには大文字が含まれることがあります。 以下の表には、すべてのパスエイリアス、その説明およびそれらが置き換えるフォルダのいくつかの例が示されています。

| パスエイリアス            | 説明                             | 例                                                                                                                                |
| ------------------ | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------- |
| `%Windows%`        | Windows ディレクトリ                 | `DRIVE:\Windows`                                                                                                                 |
| `%System%`         | Windows システムディレクトリ             | `DRIVE:\Windows\System32`                                                                                                        |
| `%ProgramFiles%`   | ソフトウェアインストールディレクトリ             | <p><code>DRIVE:\Program Files</code></p><p><code>DRIVE:\Program Files (x86)</code></p>                                           |
| `%UserProfile%`    | ユーザー固有のデータを含むディレクトリ            | <p><code>DRIVE:\Documents and Settings\USERNAME</code></p><p><code>DRIVE:\Users\USERNAME</code></p>                              |
| `%AllProfile%`     | すべてのユーザーがアクセスできるデータを保持するディレクトリ | <p><code>DRIVE:\Document and Settings\All users</code></p><p><code>DRIVE:\Users\Public</code></p>                                |
| `%ProfileTemp%`    | ユーザー固有の一時ファイルを保持するディレクトリ。      | <p><code>DRIVE:\Documents and Settings\USERNAME\Local Settings</code></p><p><code>DRIVE:\Users\USERNAME\AppData\Local</code></p> |
| `%WindowsTemp%`    | 16進数形式でルートディレクトリの下にある一時フォルダ    | `DRIVE:\c7fa349ced49048e8941a819b264eb8d`                                                                                        |
| `%NetDrive%`       | ネットワーク共有フォルダ                   | `\\SERVER\shared-dir`                                                                                                            |
| `%RemovableDrive%` | 非永久的なストレージデバイス                 | <p><code>MEDIA\_DRIVE:\</code></code><br><code>(USB スティック、CD / DVDなど)</code></p>                                                 |
| `%RecycleBin%`     | 削除されたファイルが保持されるディレクトリ          | `DRIVE:\$RECYCLE.BIN`                                                                                                            |

### バイナリパスのエリプシス <a href="#binarypaths-classic-ellipsisinbinarypaths" id="binarypaths-classic-ellipsisinbinarypaths"></a>

#### エイリアスパスのエリプシス <a href="#binarypaths-classic-ellipsisinaliasedpaths" id="binarypaths-classic-ellipsisinaliasedpaths"></a>

プライバシーの理由で、またパスの爆発を避けるため、システムはエイリアスされた場所内に作業パスを持つバイナリの完全なバイナリパスを記録しません。 これらの場所から実行されたバイナリのフルパスは保存されません：

* \&#x20`%RecylceBin%`
* \&#x20`%UserProfile%`
* \&#x20`%AllProfile%`
* \&#x20`%ProfileTemp%`
* \&#x20`%WindowsTemp%`
* \&#x20`%RemovableDrive%`

代わりに、エリプシス `/.../` がエイリアスの後のパスを置き換えます。 例えば、通常のバイナリインストーラー `setup.exe` が一時的な Windows フォルダから実行された場合、パスは以下のように記録されます：

`%WindowsTemp%/.../setup.exe`

#### 自動生成されたフォルダ用のエリプシス <a href="#binarypaths-classic-ellipsisforautomaticallygeneratedfolders" id="binarypaths-classic-ellipsisforautomaticallygeneratedfolders"></a>

Nexthink ソリューションは、自動生成された識別子の名前を持つフォルダを検出することも可能です。 これらは通常非常に長い英数字の名前で、人間の読者には意味がありません。 したがって、これらのフォルダの名前はバイナリパスにそのまま記録されませんが、エリプシス `/.../` に置き換えられます。

以下のテーブルには、識別子の種類とファイルシステム内でどのように見えるかの例が含まれています：

| IDの種類     | 例                                                                                                  |
| --------- | -------------------------------------------------------------------------------------------------- |
| GUID      | <p><code>4AQlP4lP0xGaDAMF6CwzAQ</code></p><p><code>3F2504E0-4F89-11D3-9A0C-0305E82C3301</code></p> |
| MD5       | `79054025255fb1a26e4bc422aef54eb4`                                                                 |
| SHA1      | `2fd4e1c67a2d28fced849ee1bb76e7391b93eb12`                                                         |
| 長い16進数文字列 | 桁がすべて同じでない限り、少なくとも10桁以上の連続した数字を含む文字列のほとんど。                                                         |
| 長い数値      | 最も、10 桁以上の連続した数字を含む文字列。数字が全て同じ場合は除く。                                                               |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nexthink.com/platform/ja/references/references-classic/database-information-and-organization-classic/binary-paths-classic.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
