I am configuring a long IF statement, where if the financial period is the same, it merges the cells together under the same period header, and if not, it creates a new header with the new period name. The formatting functions seem to work fine on their own. However, I […]
Daily Archives: March 5, 2024
@echo off set "src_dir=C:Users\DocumentsprojectsConfigABC" set OUTFILE="C:UsersDocumentsScriptoutput.txt" echo %OUTFILE% pushd %cd% cd %src_dir% for /r %%f in (*) do ( ( <nul set /p ".= %%~dpnxf," certutil -hashfile "%%f" MD5 | find /V ":" ) >>%OUTFILE% ) Out file content now: C:UsersDocumentsProjectsConfigcommonabc.csv,e71073e6906e06223d184fcd91124aad C:UsersDocumentsProjectsConfigcommondef.csv,6c3f42be2f7a19a31f2002accab8273d C:UsersDocumentsProjectsConfigcommonahighi.csv,d62d1612d82eff53038ccbd4eb32a81f C:UsersDocumentsProjectsConfigcommonahiert.csv,8425dbd884c27a0ba4615ef5c45b97e5 Expected: Configcommonabc.csv,e71073e6906e06223d184fcd91124aad Configcommondef.csv,6c3f42be2f7a19a31f2002accab8273d Configcommonahighi.csv,d62d1612d82eff53038ccbd4eb32a81f Configcommonahiert.csv,8425dbd884c27a0ba4615ef5c45b97e5