Copying Folder

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
Old 09 September 2005   #1
Copying Folder


I can copy files with "sysFile -copy". But I can't copy folders with this command. Any idea ?

Thank you
Old 09 September 2005   #2
use the "system" command like so:

system "[doscommandforcopy] myFolder"

I really forgot the DOS command, so sorry.....
The things we own, end up owning us.
Old 09 September 2005   #3

use xcopy

in console, type > xcopy /? to find out the options.
Old 09 September 2005   #4
thanks for post

xcopy is great, but I have no idea how can I use it with mel. I try so many way to do that. But I coudn't. any idea ?
Old 09 September 2005   #5
system "xcopy /d C:\\test1 c:\\test2";

this will copy the files in C:\temp1 to c:\temp2
u can use mel to construct a string to do this for u..
Old 09 September 2005   #6
thanks again

here the code if you copy all files and folders.

system "xcopy D:\\fromhere D:\\here/s/e";
Old 09 September 2005   #7
Thread automatically closed

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 10:56 AM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.