# 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="/files/uTtmVHs6OcZT7Vpo8lJA" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/x9rz0WMCi0obnoeOeNZk" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/37ErWRUVwL4bbVm9RLdM" 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
```


---

# 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://guide.ordinalshelp.com/bitcoin-core-ord-client-setup-on-windows/how-to-find-.cookie-file.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.
