# Get Active Directory

When executing file-related tasks or commands, the model can determine if the active directory is set and get its location..

<figure><img src="https://4213268853-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCXqs9TKFSh6SF1dy2j2A%2Fuploads%2FNlTgEeCMu66VFEXus60U%2FScreenshot%202024-09-10%20at%2022.35.50.png?alt=media&#x26;token=ef49632e-7059-41e8-9aed-6a5430809714" alt=""><figcaption></figcaption></figure>
