Command Reference — File category — Copy File Directory Name command

# Copy File Directory Name command

## Summary

Copies the full path of the directory of the current file to the Clipboard.

## Description

Copies the directory name of the file and put it on the Clipboard. This command cannot be selected if the document is untitled.

## How to Run

- Default Menu: None

- All Commands: File > Copy > File Directory Name

- Toolbar: None

- Status Bar: None

- Default Shortcut Key: None

## Plug-in Command ID

    EEID_COPY_FILE_DIR (4327)

## Macros

### [JavaScript]

    document.CopyPath();

### [VBScript]

    document.CopyPath