I've a folder where every archive file has a correspondant image file with the same name. If ordered by file name then the structure of the folder is:
- Folder
- File1.zip
- File1.jpg
- File2.zip
- File2.jpg
- File3.zip (this file should be moved to a subfolder)
- File4.zip
- File4.jpg
If the archive file has not its image file then it should be moved to another folder.
One problem is that not all archive files are .zip, but also .rar or 7z and not all images are .jpg but also .jpeg or .png
It would be great if you could point me to the solution because I'm a web designer and .bat files are not really my domain :)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…