|
|||
|
Hallo! can anybody help me?
I want to copy the folder c:\01 into the folder C:\TEMP why this doesnt work? Code:
folder.copy("C://01","C://TEMP");
and is any document for ffish script in germany variable ? thanks! |
|
|||
|
With this script i copy all SubFolders from the Folder c:/TEMP to c:\\01 with all files of c: TEMP.
But how can i copy hardly one Folder because ther are many folders in c:\\TEMP Code:
f = new Folder("c:\\TEMP");
f.copy("c:\\01")
|
|
|||
|
Code:
function CopyFiles(src, dest)
{
var srcFolder = new Folder(src);
var files = srcFolder.files;
var i;
for (i = 0; i < files.length; i++)
{
var file = new File(files[i]);
file.copy(dest + "\\" + file.name);
}
}
CopyFiles("C:\\temp", "c:\\01");
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|