Copy A File Texture With Mel

hello!!

I want know how copy a file .tif used in maya on texure or reflection map??
for exporting that to a new repertories for used this in motor 3d????

Thank you

QUOTE(xabi @ 04/11/06, 09:05 PM) [snapback]233988[/snapback]
hello!!

I want know how copy a file .tif used in maya on texure or reflection map??
for exporting that to a new repertories for used this in motor 3d????

Thank you

Hi

Do you want copy a file from one location to other location ???

then u can use SYSTEM comamnd or

CODE
string $destWindows = "C:/temp/mayaStuff/myimage.tif";
string $srcWindows = "C:/maya/projects/default/scenes/myimage.tif";
sysFile -copy $destWindows $srcWindows;

or you want anything more ???

regds

o.S.k

use system command. you can do usual commandline opperations with it.
CODE
system("copy c:\temp1*.* c:\temp2");

and make use of file -q -ex $fileName; to check availability...

Than you i go test that