Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Modify 3dsmax.ini via cmd

Modify 3dsmax.ini via cmd

MysticLtd
Advocate Advocate
1,390 Views
6 Replies
Message 1 of 7

Modify 3dsmax.ini via cmd

MysticLtd
Advocate
Advocate

Hi!

 

I tried to copy and paste a line of text from a generic .ini file into the 3dsmax.ini via a cmd *.bat file.

 

This is the code in the bat file:

 

type \\server\plugins\MaxPlugins\Max2021\ini\MCGCopy.ini >> "C:\Users\%username%\AppData\Local\Autodesk\3dsMax\2021 - 64bit\ENU\3dsMax.ini"

timeout 10

 

 

The problem is, that the line appears in chinese letters after it was copied, instead of normal utf letters. And so this is useless.

 

Does anyone know how to fix this?

 

Thank you very much!

0 Likes
Accepted solutions (3)
1,391 Views
6 Replies
Replies (6)
Message 2 of 7

istan
Advisor
Advisor
Accepted solution
0 Likes
Message 3 of 7

MysticLtd
Advocate
Advocate

Can you please elaborate this a little bit more, how you would like to achiev this with copy?

 

I don't want to copy files.

I want to grab some lines of text from "File A" and add them to the existing text of "File B".

0 Likes
Message 4 of 7

istan
Advisor
Advisor
Accepted solution

Have you read the help text? Search for the '+' operator..

0 Likes
Message 5 of 7

MysticLtd
Advocate
Advocate
Thank you for pointing me to this.
Yes I browsed quickly through the website you linked, but I was unhappily overwhelemed by the amount of information and wasn't shure which is the right solution. So I asked you if you could elaborate it a little more.
Did you ever tried the "+ operators" yourself? Do they work well?

I will give it a try and let you know if it works as intended. - Thank you! 🙂
0 Likes
Message 6 of 7

MysticLtd
Advocate
Advocate
Accepted solution

Hi!

 

I'm glad to tell you that it worked perfectly fine with the "+ operators".

Thank you again!

 

Maybe this procedure, how to remote or batch edit the 3dsmax.ini file should be documented somewhere in the official 3dsmax docs.

 

Greetings!

0 Likes
Message 7 of 7

istan
Advisor
Advisor

I would be surprised, if it would not work.

I'd say, this is very basic computer knowledge ihmo.There are thousands of ways of how to modify files. I for instance prefer using VBS, as then I can even debug my scripts and usually I'm not adding but changing settings.

0 Likes