I'm making a batch script where the User do the scanning of a folder and batch list the files of the same to a TXT and after it is done scanning the TXT list looking for files with the same name as a list, predetermined, however I have problems after
1 - I have not the slightest idea of how do I show file that was found in the separate list
Example:
My list:
VideoTeste
Family
Myfavoritesong
My Song
Result in Documentos.txt:
Videoteste.avi
Family.exe
family.jpg
MY_1231dFamilyxzsaxad.jpg
MyFavoritesong.mp3
Folder_Family
My Song.mp3
Result in Downloads.txt:
Videoteste.rar
Family_235.dat
MyFavoritesong_&.mp3
My Song.mp3
Result in Temp.txt:
Videoteste.rar
Family_235.dat
MyFavoritesong_&.mp3
My Song.mp3
2 - This list is not fixed as well as local and this would in a way where the local and items could not cause errors to the script as spaces or &.
Note:
1 - The lists are in the temp folder in several .txt files
2 - If possible if it were not found anything in a .txt file information appeared that nothing was found in the output file.