BATCH Script - Create a folder with a specific part of the filename
问题 I need help from you guys, I have been writing a script in Batch where I need to create a folder by using a part of the name of the file. I need to have for example : for this file : 20200614_SAP_ZCMF_MB51_V1.csv I only need for the name of the folder SAP_ZCMF_MB51. I need to delete the date and the version from the name of the folder. Here is the code that allows me to create a folder : @echo off setlocal enabledelayedexpansion for %%A in (*.csv) do ( echo file found %%A for /f "delims=" %%B