New
#1
Pass partial parameter in bat file
I have about 200 files
examples:
20200101 FILE10.TXT
20200102 FILE10.TXT
20200103 FILE10.TXT
20200104 FILE10.TXT
I need a way to accept only the first 8 positions in a bat file and copy the whole file to another directory.
If enter 20200101 and it will pass the file 20200101 FILE10.TXT to another directory.
After it is passed it has to be renamed to update.txt to be run from inside another bat file.
Presently, I have to manually copy each file to the other directory.