Search found 2 matches
- 14 Mar 2008 12:11
- Forum: DOS Batch Forum
- Topic: Batch file with variables
- Replies: 4
- Views: 10739
Batch file with variables
What I'm trying to do is create a batch file that will take the highest numbered file eg. Directory containing the files Image 8.jpg Image 9.jpg Image 10.jpg Image 11.jpg and I want the batch to take the highest numbered file, in this case Image 11.JPG and move it to a new directory, then delete the...
- 30 Jan 2008 13:00
- Forum: DOS Batch Forum
- Topic: Problems with IF functions
- Replies: 0
- Views: 8889
Problems with IF functions
I am trying to create a batch file that will look in a directory with several files named "Picture 1.JPG" "Picture 2. JPG" "Picture 3.JPG" etc. and have it rename and move the one with the last number then delete al the rest. any ideas on the best way to do this?