# How to Find .cookie file

First, **make sure your Bitcoin Core is running**. The cookie file will not populate unless Bitcoin Core is open and running.

Here is how to easily find where the cookie file is located:

Open Bitcoin Core -> Window -> Information

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FeOgvSyyoI5WNd3vhHDtP%2Fimage.png?alt=media&#x26;token=2af3298e-d0e5-441b-bc5b-c7c3af7a176d" alt=""><figcaption></figcaption></figure>

The Datadir folder path should lead you to the cookie file:

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FW542C7sx4Cbj3NCbmG07%2Fimage.png?alt=media&#x26;token=8e8ea943-9296-42ef-a105-32c238878333" alt=""><figcaption></figcaption></figure>

There it is! You can Right Click -> Copy as path.

<figure><img src="https://276521378-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcQxHgc3ZgaH1kNeX8bk4%2Fuploads%2FqkR6cjzFfkJM2rJDcHS6%2Fimage.png?alt=media&#x26;token=2579f0f7-8056-445d-9da6-59f630a11beb" alt=""><figcaption></figcaption></figure>

Now you can use that path to perform commands on ord client. &#x20;

Example:

```
./ord --cookie-file <PASTE-COOKIE-PATH> server
```
