You code works perfectly! Thanks.
Now I see the function of the "~" in ("%%~A"). But why is it necessary to use the "~" in "%PIC_LIB%\%%~B"? I ran the code without the "~" and that also works.
Search found 2 matches
- 03 Aug 2009 14:22
- Forum: DOS Batch Forum
- Topic: How to copy files to special directories
- Replies: 3
- Views: 5475
- 03 Aug 2009 11:02
- Forum: DOS Batch Forum
- Topic: How to copy files to special directories
- Replies: 3
- Views: 5475
How to copy files to special directories
I have a picture library with more than 1000 pictures. Let's say that the location is "C:\pic_lib\" with for example these pictures: pic001.jpg pic002.jpg pic003.jpg (..).jpg And I have some text files called group1.txt group2.txt group3.txt (..).txt Each textfile has per line a location t...