.MS

MS File

3ds Max MAXScript File
Ask a question
QUICK ANSWER

An MS file is a plain text script in MAXScript, the scripting language built into Autodesk 3ds Max. To run it, open 3ds Max and use Scripting > Run Script. To read or edit it without 3ds Max, any text editor works. Opening the file in a text editor is safe; running an unknown script inside 3ds Max carries real risk.

Developer: Autodesk Category: Developer Files MIME: text/plain
OPENS ON Windows
Related: .DO · .MD · .HEX · .XSD

On this page

19k+ extensions indexed
Last reviewed Jul 7, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

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: MEDIUM

MAXScript 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
FULL NAME3ds Max MAXScript Fileaka MAXScript, 3ds Max Script
DEVELOPERAutodesksince 3ds Max 2.0, 1997 (MAXScript first included)
MIME TYPEtext/plain
TYPEPlain text script (MAXScript language)
This extension is also used by…
  • 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

Windows3 apps
Notepad Open-source Open the .ms file to read or edit the MAXScript code. Syntax highlighting available via user-defined language plugins.
Autodesk 3ds Max Paid Scripting > Run Script, navigate to the .ms file and open it. The script executes immediately or opens a rollout UI.
Visual Studio Code Open-source Open the .ms file to view and edit MAXScript source. MAXScript language extension available in the VS Code marketplace.

Technical details

deep spec
Language typeProprietary scripting language (MAXScript) - C-like syntax with object-oriented, event-driven, and functional features
PlatformWindows only (3ds Max is Windows-exclusive)
Introduced3ds Max 2.0, 1997 (Kinetix era); bundled with every subsequent release through 3ds Max 2026
EncodingASCII (legacy scripts); UTF-8 supported in modern 3ds Max versions
Key constructs`utility`, `rollout`, `fn` (function), `struct`, and `on ... do` event handlers
API coverageFull scripted access to scene objects, modifiers, materials, animation controllers, and render settings
Execution methodVia **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-existencePython scripting added in 3ds Max 2014; both languages coexist and share scene access APIs
Typical file size1 KB - 500 KB; large scene-generation or batch-processing scripts may exceed this
Released3ds Max 2.0, 1997 (MAXScript first included)
Latest versionCurrent with 3ds Max (Autodesk 3ds Max 2026 as of 2026)
Specificationhelp.autodesk.com

MS conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with MS files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about MS files.

Frequently asked questions

How do I run a .ms file in 3ds Max?
In 3ds Max: Scripting > Run Script, navigate to the .ms file and click Open. The script runs immediately or opens a rollout panel. Alternatively, drag the file into the 3ds Max viewport in some versions.
Can I open a .ms file without 3ds Max?
Yes - it is plain text. Open it in any text editor (Notepad, Notepad++, VS Code) to read or edit the code. But you need 3ds Max to actually execute it.
What is the difference between .ms and .mse?
.ms is the readable MAXScript source file. .mse is an encrypted/compiled version - same functionality but the source code is hidden, used by developers distributing commercial tools.
Why does my .ms file not run in 3ds Max?
Common causes: the script was written for a different 3ds Max version (API changes), required plugins are missing, or there is a syntax error. Open it in a text editor and check the first few comment lines for version requirements.

References

1Autodesk - MAXScript Referencehelp.autodesk.com
2ScriptSpot - community MAXScript repositorywww.scriptspot.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.MDMarkdown Document
4.BINCD/DVD Disc Image (BIN/CUE)
5.NOMEDIAAndroid No-Media Marker File
6.PARTPartial Download File
7.RPMSGRestricted Permission Message
8.EXEWindows Executable (Portable Executable)
9.AVIFAV1 Image File Format (AVIF)
10.DBSQLite Database File

Related extensions

.DOStata Do-File
.MDMarkdown Document
.HEXIntel HEX File
.XSDXML Schema Definition
.MAPSource Map (JavaScript / CSS)
.CONFIGConfiguration File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z