---
layout: docs
page_title: Path Variables - HCL Configuration Language
sidebar_title: Path Variables
description: |-
  Special variables provide directory information. This page covers all path
  variables.
---

# Path variables

- `path.cwd`: the directory from where Packer was started.

- `path.root`: the directory of the input HCL file or the input folder.
