Hi feirui445,
re:
> How to add code in MOI3D to run batch files (.bat) in WIN10?
You can set up a shortcut key that will launch a batch file when the key is pressed, is that what you want?
Put this as the "Command" part of the shortcut key (note use additional backslash \ because that is the escape character in javascript):
script: moi.filesystem.shellExecute( 'c:\\scripts\\test.bat' );
- Michael
|