I took foxidrive's idea since my filename has underscore. This way the code is simple and we don't have to update it if a new prefix is found, we just add a new _tag_sftp.bat file.
Thank you all for quick response. You guys are awesome!
Search found 2 matches
- 18 Apr 2012 06:09
- Forum: DOS Batch Forum
- Topic: read file names and call bat files [SOLVED]
- Replies: 5
- Views: 4430
- 16 Apr 2012 13:21
- Forum: DOS Batch Forum
- Topic: read file names and call bat files [SOLVED]
- Replies: 5
- Views: 4430
read file names and call bat files [SOLVED]
I need help in coding for below logic. I've some interaction with dos coding: Do till all files processed in "Folder1" If prefix of file name = prefix1, then goto prefix1_tag If prefix of file name = prefix2, then goto prefix2_tag If prefix of file name = prefix3, then goto prefix3_tag End...