---
tag: m0033
title: Get Long Path
brief: Convert a short pathname to a long pathname.
author: thinkyhead

group: sdcard
since: 1.0.2
requires: SDSUPPORT, LONG_FILENAME_HOST_SUPPORT

codes: [ M33 ]

notes:
- Requires [`SDSUPPORT`](/docs/configuration/configuration.html#sd-card) and `LONG_FILENAME_HOST_SUPPORT`

parameters:
- tag: path
  optional: false
  description: DOS 8.3 path to a file or folder

examples:

- pre: Get the long path for a file
  code:
    - M33 funstuff/mask.gco
    - "> FunStuff/Mask.gcode"

---

Get the long name for a file based on the DOS 8.3 path.
