I have a set of base filenames, for each name ‘f’ there are exactly two files, ‘f.in’ and ‘f.out’. I want to write a batch file (in Windows XP) which goes through all the filenames, for each one it should:
- Display the base name ‘f’
- Perform an action on ‘f.in’
- Perform another action on ‘f.out’
I don’t have any way to list the set of base filenames, other than to search for *.in (or *.out) for example.