How to combine .txt and create a new folder
Posted on 2016-09-23
When I run this batch file:
for %%a in ("%FNSrcPatt%") do (type %%a>>"%FNOut%")
the old .txt files are left behind in c:\folder\. Is there a way, keeping the script as is, just adding a way for me to specify a folder that those .txt files are put...and have a folder created with it date and time stamped? So, using what you suggested, but then adding code where I specify where to create a new folder, the title of the folder is the current date and time, then the .txt files are moved to the newly created folder. Does that make sense? Thanks!