cgbeige
10-07-2010, 04:11 PM
I can't figure out where Maya stores the current project path. I have this script ready to open the project window in the desktop, and now all I need is that actual path info.
edit: nevermind. I'll just use the workspace command in Maya. Does anyone know how to send a path to open in the windows command prompt? This works in OS X but it uses the "open" command, which is an OS X thing:
$pathToOpen = `workspace -q -dir`;
system (("open ") + $pathToOpen);
edit: nevermind. I'll just use the workspace command in Maya. Does anyone know how to send a path to open in the windows command prompt? This works in OS X but it uses the "open" command, which is an OS X thing:
$pathToOpen = `workspace -q -dir`;
system (("open ") + $pathToOpen);
