i'm only learning to write batches and have a problem with one that i can't get to run as i want it to:
i have 2 folders: C:\Folder1 and C:\Folder2
in Folder1 there is one *.txt and lots of *.pdf-files.
one of all these pdf-files has the same name as the txt-file. (aaa.txt, aaa.pdf, bbb.pdf, ccc.pdf)
all i need to do is move the txt-file (aaa.txt) and the pfd-file with the SAME NAME (in this case aaa.pdf) from Folder1 to the Folder2.
i know the name of the folders, but the name of the files change all the time. how can i handle this?
thank you for any help - it is always greatly apreciated!!!!