|I am new with the batch script.|
I have values in parameter.txt file as below
then in my test.bat file, I need a value of variable "$$CURR_YEAR_MONTH_WID_C1" as 201212
and "$$CURR_YEAR_MONTH_WID_C2 as 201303.
i am not sure what should i put in IF ELSE block, i have written batch script(test.bat) as below
rmdir "D:\Batch_files\Datacollection files rahw"
md "D:\Batch_files\Datacollection files rahw"
for /f "delims=" %%x in (D:\param_files\Parameter_File_rahw_org.txt) do (
IF %%x ==CUSTOM_1 (
) ELSE (
echo not matched