Sorry for the bump, but after Rokay's advice worked, I have run into yet another error.
The snippet of code that this error refers to is:
// Error: file: C:/Program Files (x86)/Steam/steamapps/sourcemods/Source Code/mesa/smdExport.mel line 1111: unable to open C:\Program Files (x86)\Steam\steamapps\sourcemods\Source Code\scenes\props for write
Has anyone actually gotten this thing to work?
int $fileHandle = `fopen $smdFileName "w"`;
error ("unable to open " + $smdFileName + " for write");