I was wondering - is it a big change if I want to keep each sub folders name? So if I have a folder in a folder with a pdf - is it a big change to copy the pdf back to the top but concatenate both the folder names?
Thanx
Ben
Search found 7 matches
- 30 Sep 2014 13:45
- Forum: DOS Batch Forum
- Topic: Recursive copy files from folders and rename (folder name)
- Replies: 22
- Views: 19579
- 07 Aug 2014 03:41
- Forum: DOS Batch Forum
- Topic: Recursive copy files from folders and rename (folder name)
- Replies: 22
- Views: 19579
Re: Recursive copy files from folders and rename (folder nam
That's fine foxidrive - it's just what I needed.
Thanx again
Thanx again
- 06 Aug 2014 09:38
- Forum: DOS Batch Forum
- Topic: Recursive copy files from folders and rename (folder name)
- Replies: 22
- Views: 19579
Re: Recursive copy files from folders and rename (folder nam
Yup, foxidrive's solution works - so I'm going with this.
Great, thanx Foxidrive
Great, thanx Foxidrive
- 06 Aug 2014 09:34
- Forum: DOS Batch Forum
- Topic: Recursive copy files from folders and rename (folder name)
- Replies: 22
- Views: 19579
Re: Recursive copy files from folders and rename (folder nam
Awwww.... I tested Compo solution out and I thought it worked - however, the copied/renamed pdf files are all corrupted 
Doesn't seem to copy them right :-/
Going to test foxidrive's solution now

Doesn't seem to copy them right :-/
Going to test foxidrive's solution now

- 06 Aug 2014 03:19
- Forum: DOS Batch Forum
- Topic: Recursive copy files from folders and rename (folder name)
- Replies: 22
- Views: 19579
Re: Recursive copy files from folders and rename (folder nam
Fantastic Compo!!
It's perfect!!! Just what I wanted!!
Thanx
It's perfect!!! Just what I wanted!!
Thanx
- 05 Aug 2014 03:24
- Forum: DOS Batch Forum
- Topic: Recursive copy files from folders and rename (folder name)
- Replies: 22
- Views: 19579
Re: Recursive copy files from folders and rename (folder nam
Thanx guys. My example was to illustrate the issue (i.e., should be "/"). I was tired of fiddling with the bat script and wanted to give a simple example. I thought I could put a bat file in a folder, and loop over all subfolders and find '.pdf' files and copy them to the location of the ....
- 04 Aug 2014 10:53
- Forum: DOS Batch Forum
- Topic: Recursive copy files from folders and rename (folder name)
- Replies: 22
- Views: 19579
Recursive copy files from folders and rename (folder name)
Hi all, this might seem easy - or maybe it can't be done - however, I'm trying to write a small bat script, that copies all the file types in the current sub folders and renames them based on the 'top' folders name: ./cats/cata/file.bmp ./cats/catb/file.bmp ./cats/catc/file.bmp ./cats/grab.bat by gr...