What is the MS file format?
.ms is a MAXScript source file used by Autodesk 3ds Max to automate and extend the 3D modeling, animation, and rendering application. MAXScript is a scripting language built into 3ds Max since version 2.0 (1997) and provides access to virtually every object, property, and command in the application.
A .ms file contains plain ASCII or UTF-8 text. Scripts typically define utility panels, rollout dialogs, function libraries, and event handlers, or execute direct API calls to create geometry, apply materials, set keyframes, or batch-process scenes. There is no mandatory header; files often begin with comment lines (--) documenting the script name and author.
Related extensions include .mse (an encrypted/compiled version of a .ms script that protects source code from inspection), .mzp (a ZIP-based installer package for MAXScript tools and plugins), and .mcr (a macro script assignable to toolbar buttons or keyboard shortcuts). Scripts are installed by choosing Scripting > Run Script from the menu or by placing them in the scripts/ folder in the 3ds Max installation directory.
Since 3ds Max 2014, Python has been available as a co-equal scripting alternative, but MAXScript .ms files remain fully supported in all current releases including 3ds Max 2026. Because 3ds Max runs only on Windows, .ms files are a Windows-only format.
Security & safety
RISK: MEDIUMMAXScript is a full scripting language with file system access and network calls. A malicious .ms file could delete files, exfiltrate data, or corrupt scenes if run inside 3ds Max. Only run .ms files from trusted sources. Before running an unfamiliar script, open it in a text editor to review what it does. 3ds Max 2021+ added a MAXScript security settings dialog for enhanced protection.
Format details
in a nutshell- Maple Worksheet (classic) - Maplesoft's Maple computer algebra system used .ms for classic worksheets in very old versions (pre-Maple 6); the current Maple format is .mw.
- Microsoft Script file (MS-DOS batch era) - The .ms extension was occasionally used for MS-DOS batch or macro scripts in legacy applications; rare outside 3ds Max context.
Programs that open MS files
Technical details
deep spec| Language type | Proprietary scripting language (MAXScript) - C-like syntax with object-oriented, event-driven, and functional features |
| Platform | Windows only (3ds Max is Windows-exclusive) |
| Introduced | 3ds Max 2.0, 1997 (Kinetix era); bundled with every subsequent release through 3ds Max 2026 |
| Encoding | ASCII (legacy scripts); UTF-8 supported in modern 3ds Max versions |
| Key constructs | `utility`, `rollout`, `fn` (function), `struct`, and `on ... do` event handlers |
| API coverage | Full scripted access to scene objects, modifiers, materials, animation controllers, and render settings |
| Execution method | Via **Scripting > Run Script** menu, MAXScript Editor, or auto-loaded from the `scripts/startup/` folder |
| Encrypted variant | `.mse` - compiled/encrypted `.ms` file; identical functionality but source code is not human-readable |
| Package format | `.mzp` - ZIP archive containing a MAXScript installer; standard distribution format for tools and plugins |
| Macro variant | `.mcr` - macro script assignable to a toolbar button, quad menu item, or keyboard shortcut |
| Python co-existence | Python scripting added in 3ds Max 2014; both languages coexist and share scene access APIs |
| Typical file size | 1 KB - 500 KB; large scene-generation or batch-processing scripts may exceed this |
| Released | 3ds Max 2.0, 1997 (MAXScript first included) |
| Latest version | Current with 3ds Max (Autodesk 3ds Max 2026 as of 2026) |
| Specification | help.autodesk.com |
MS conversions
Community Q&A
asked by usersNo questions yet - be the first to ask about MS files.