Hi all. I've tried many variations to get a seemingly simple task to work, but have not had success. Very simply, for each file in a folder (C:\Pers\test1), I would like to check to see if the file exists in another folder (C:\Pers\test2). If the file exists in test2, then delete it from test1. Here...
Thanks for the prompt reply! It works. I had to move the delete command above the unzip command because otherwise I am deleting both the old and new files. When changing directory, why is it better to use /d? I see that you were a little more creative in renaming than I was, using the filename to ou...
Hi all, I'm new to using batch files and I've been perusing the board for a bit trying to find a solution for my renaming issue. On my network, I am trying to extract .pdf files from a .zip and rename them with the first 9 characters of the filename. Original filenames look like this: 055CDGEF2.BW50...