|
#1
|
|||
|
|||
Copy File (include folders)
I have this folder structure:
source\A1 source\C2 ..... source\XYZNNNNNNN I want to copy just certain folders which I want to specify in Include. Everything else should be excluded. For example, I want to copy just two folders: source\A1 and source\C2 all other folders source\NNNNN should not be copied. thanks |
#2
|
|||
|
|||
Specify a Source folder of source and Include of
/A1 /C2 and check Copy subdirectories. http://www.kinook.com/VisBuildPro/Ma...ioncopytab.htm http://www.kinook.com/VisBuildPro/Ma...lematching.htm |
#3
|
|||
|
|||
I did it exactly like you said. But it also copies all folders which I don't want to be copied.
/A1 /B2 /C3 and everything else got copied. I though it will exclude everything else what is not included in Include. |
#4
|
|||
|
|||
I'm not sure -- the attached project works as expected:
2/17/2010 3:48:38 PM: -------------------- Starting Build: 'CopyTest2.bld' -------------------- 2/17/2010 3:48:38 PM: Building project step 1 - Project steps... 2/17/2010 3:48:38 PM: Building project step 2 - Delete Folder... Folder 'c:\Temp\VisBuildCopyTest' does not exist, not deleting 2/17/2010 3:48:38 PM: Building project step 3 - Create test file1... Creating file c:\Temp\VisBuildCopyTest\source\A1\test.txt 2/17/2010 3:48:38 PM: Building project step 4 - Create test file2... Creating file c:\Temp\VisBuildCopyTest\source\B2\test.txt 2/17/2010 3:48:38 PM: Building project step 5 - Create test file3... Creating file c:\Temp\VisBuildCopyTest\source\C2\test.txt 2/17/2010 3:48:38 PM: Building project step 6 - Create test file4... Creating file c:\Temp\VisBuildCopyTest\source\XYZNNNNNNN\test.tx t 2/17/2010 3:48:38 PM: Building project step 7 - Copy Files... c:\Temp\VisBuildCopyTest\source\ -> c:\Temp\VisBuildCopyTest\dest\ New Folder: A1\ New File: A1\test.txt New Folder: C2\ New File: C2\test.txt 2 file(s) copied, 0 file(s) skipped 2/17/2010 3:48:38 PM: Build successfully completed. http://www.kinook.com/Forum/showthre...?threadid=3044 |
Thread Tools | |
Display Modes | Rate This Thread |
|
|