Search found 4 matches
- 18 Jul 2013 00:55
- Forum: DOS Batch Forum
- Topic: Merge two folders - please help
- Replies: 8
- Views: 6409
Re: Merge two folders - please help
thanks you..Now i am moving to my complete requirement...Trying the below. Gor help from many people. Its working fine if i need to append 2 folder names from two different paths. @ECHO OFF Set NasPath=C:\New\Folder1 Set NasFolder=%NasPath% :GetFolder Set GetFolderTemp=%NasFolder:*\=% If Not %GetFol...
- 17 Jul 2013 19:08
- Forum: DOS Batch Forum
- Topic: Merge two folders - please help
- Replies: 8
- Views: 6409
Re: Merge two folders - please help
Thank you both.. i came up with the below script.. @echo off set Source1=C:\New\Folder1 set Source2=C:\New\Folder2 Set Dest=C:\New\Newfolder xcopy /s/h/e/k/f/c %Source1%\*.* %Dest%\ xcopy /s/h/e/k/f/c %Source2%\*.* %Dest%\ But the problem is, it overwrites the files in the destination. My intention ...
- 17 Jul 2013 05:09
- Forum: DOS Batch Forum
- Topic: Merge two folders - please help
- Replies: 8
- Views: 6409
Re: Merge two folders - please help
Requirement as below again.. Source \\100.X.X.X\Folder1 Source \\100.X.X.X\Folder10\FolderX Common Destination \\100.X.X.X\FolderDestination\Folder1FolderX This folder should contain the merged (If there are any sub folders with same names) content of Folder1 and FolderX (Including sub folders and a...
- 17 Jul 2013 04:55
- Forum: DOS Batch Forum
- Topic: Merge two folders - please help
- Replies: 8
- Views: 6409
Merge two folders - please help
Hi Folks, Im new to this forum and just started working on DOS.. i have a new requirement like, 1. Copy a Folder (Folder 1) which contains sub folders (Folder 2 Folder 3) to a new Location 2. Copy a second Folder (Folder 4) which contains same sub Folders (same folder names Folder 2 and Folder 3) an...