Hello
The .cmd and .bat are both script files for the Windows command prompt. The difference between the two is that .cmd is used for scripts that run on Windows NT-based operating systems (like Windows 2000, XP, Vista, 7, 8, 10), while .bat is used for scripts that run on MS-DOS and the Windows 9x series (95, 98, ME).
If you have a .mbat file (which is not a standard extension), and you want it to be interpreted like a .cmd file, you can simply rename the file extension from .mbat to .cmd. Here’s how you can do it:
Open the folder containing your .mbat file.
Right-click on the file and select Rename.
Change the extension from .mbat to .cmd and press Enter.
You should make sure the commands in the script are compatible with the CMD interpreter. If the script uses commands or syntax that are specific to another shell or scripting language, it may not work correctly in CMD.
Also,running scripts can potentially be harmful if they contain malicious code. Always make sure you trust the source of the script and understand what it does before running it.