Ah thanks guys!!
avery_larry would I put the
cd /d drive:\path
for /d /r %%F in (*) Do ( ... after the Cls?
like this?
Cls
cd /d drive:\path
for /d /r %%F in (*) Do (
Echo Checking Folder "%%F" for JAR files
Search found 2 matches
- 18 May 2009 01:31
- Forum: DOS Batch Forum
- Topic: check multiple folder for file if file exists copy to folder
- Replies: 5
- Views: 11764
- 15 May 2009 04:50
- Forum: DOS Batch Forum
- Topic: check multiple folder for file if file exists copy to folder
- Replies: 5
- Views: 11764
check multiple folder for file if file exists copy to folder
Hi! I am trying to come up with a way to check multiple folders for a file. If the folder contains a certain file it needs to paste a .jpg image there. If not it needs to goto the next folder and do the same check. My batch experience is limited atm my code looks like this: @echo off u: cd\ cd "...