  | | | Mel SYSTEM calls | Mel SYSTEM calls 2003-12-03 - By Daniel Goupil
Back system execute a string not a command then use " instead of `
system ("start cmpPackage.exe " + $workSpace + "directory\\fileName.ext");
-- --Original Message-- -- From: Brian Bullock [mailto:Brian@(protected)] Sent: Wednesday, December 03, 2003 10:27 AM To: maya@(protected) Subject: Mel SYSTEM calls
I'm trying to write a mel script that will open a cmp file based on the workSpace variable and a set cmp name.
EG:
system ('start cmpPackage.exe " + $workSpace + "directory\\fileName.ext');
I'm trying to run the script off the top of my head and there maybe syntax problems, but hopefully you get the point...
Any ideas?
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- List-help: <mailto:listar@(protected)?Subject=help> List-unsubscribe: <http://www.highend3d.com/maya/listserver/> List-subscribe: <http://www.highend3d.com/maya/listserver/> List-archive: <http://www.highend3d.com/maya/archive/>
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- List-help: <mailto:listar@(protected)?Subject=help> List-unsubscribe: <http://www.highend3d.com/maya/listserver/> List-subscribe: <http://www.highend3d.com/maya/listserver/> List-archive: <http://www.highend3d.com/maya/archive/>
|
|
 |