OK, I need more help.
I am creating a batch file that takes an input file, changes a few values, and echos the rest of the values to an output file.
One of the input file's columns is a date. Instead of echoing the date to the output file, as is. I need to advance it by 1 day and then put it in a specific format in the output file.
Code to modify: (%%c is the date field) Output file is a .csv file.
if "%%~a-%%~b"=="101-1" (
>>%output_file% echo X%%a,2,%%c,"23:30:00",%%e,%%h)