Illegal Characters in Path

Posted May 28, 2015

Have you ever go to export a model and see an error like this:

MAXScript Rollout Handler Exception: -- Runtime error: dotNet runtime exception: Illegal characters in path. <<

If so, it probably means that you have an illegal character in your path Silly! What are illegal characters? They are the kinds of things that you wouldn't normally include in a file system path. Just some of these are listed below:

  • TAB

There are more. When exporting a WWMT model it is important that you do not have any of these in the Model Path, Material Path or Model Name.

Sometimes you can inadvertently create an character because some valud paths such as:


can get interpretted as

ew       errible\path

This is because \n is interpreted as a NEWLINE and \t is interpretted as a TAB.

Generally you can avoid these problems by using forward slashes (/) instead of backslashes (\).

Newsletter Subscription