Code
What is a .dir file?
A .dir file is a Macromedia Director (version PC). This is a code, script or executable format. Confusingly, this extension has been used by 2 different formats over the years — they're all listed below.
This extension has been used by more than one format
2 different formats have claimed .dir over the years, so two files with the same extension aren't necessarily the same kind of thing.
How to open a .dir file
- VS Code opens and highlights nearly every text-based code format.
- Never run a script you didn't write or trust.
The registry records this extension against Macromedia Director, Macromedia Director, so software from that family is the most likely match.
How to convert a .dir file
- Text-based code needs no conversion — just save with a different extension if a tool insists.
MIME type
When a .dir file travels over the web, servers label it with this MIME type:
application/x-directorThe technical record
For archivists, developers and the merely curious: these are the PRONOM registry entries for .dir.
| Format name | Version | MIME type | PUID |
|---|---|---|---|
| Macromedia Director | PC | application/x-director | x-fmt/341 |
| Macromedia Director | Macintosh | application/x-director | fmt/317 |