Computer Hope
Microsoft => Microsoft DOS => Topic started by: lalat06bag on January 10, 2018, 01:40:59 PM
-
What would the the code to remove the date part of multiple files in a folder and rename in a DOS batch file.
Input file WTIN_PEG_SE_abc-en-us_2017-12-20T024722674Z.pdf
Output should be WTIN_PEG_SE_abc-en-us.pdf
This should work for multiple files in the folder.
-
Answered on DosTips (https://www.dostips.com/forum/viewtopic.php?f=3&t=8326).