XM Magdalena 3D print, GGeorgy (3D)
LC #42 Pipers Alley

View Full Version : Windows filepaths with spaces in mel??

10-12-2005, 09:36 PM
How do i access a file(filePath) that contains spaces, with MEL? I'm on windows and wish to use the system command.

Any help appreciated,

10-13-2005, 12:41 AM
its pretty straight forward... you have to put quotes around your filepath. Additionally, you have to delimit each quote and backslash with another backslash. This tells the MEL parset to ignore the character directly after the slash. Hope this helps!

system("\"C:\\Path To File\\file.exe\"");

10-13-2005, 10:54 AM
That sure helps.

Thanks a lot!


CGTalk Moderation
10-13-2005, 10:54 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.