---
tag: m0023
title: Select SD file
brief: Select an SD file to be executed
author: thinkyhead

requires: SDSUPPORT
group: sdcard

codes: [ M23 ]
related: [ M24 ]

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

parameters:
  -
    tag: filename
    optional: false
    description: The filename of the file to open.

examples:
  -
    pre: Select a file and start it
    code: |
      > M23 /musicg\~1/jingle.gco
      Now fresh file: /musicg\~1/jingle.gco
      > M24

---

Select an SD file for printing or processing. Follow with [`M24`](/docs/gcode/M024.html) to run the selected file.
