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
  09 September 2005
Copying Folder


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

Thank you
  09 September 2005
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.
  09 September 2005

use xcopy

in console, type > xcopy /? to find out the options.
  09 September 2005
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 ?
  09 September 2005
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..
  09 September 2005
thanks again

here the code if you copy all files and folders.

system "xcopy D:\\fromhere D:\\here/s/e";
  09 September 2005
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 01:02 AM.

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