Search found 2 matches
- 01 Feb 2017 03:17
- Forum: DOS Batch Forum
- Topic: JREN.BAT v2.8 - Rename files/folders using regular expressions
- Replies: 78
- Views: 199756
Re: JREN.BAT - Rename files/folders using regular expressions
Suppose I have files with the following naming structure, %username%_YYYY-MM-DD_%uniqueID%.txt And I want to rename it to %username%_YYYY.MM-%sequentialnumbering% The sequential numbering would be specific for each month. For example, user1_2017-01-15_1426786413773592719.txt to user1_2017.01-01.txt ...
- 23 Nov 2016 20:12
- Forum: DOS Batch Forum
- Topic: Replace string in filename, handling of exclamation marks!
- Replies: 1
- Views: 5161
Replace string in filename, handling of exclamation marks!
Was writing a simple script for replacing a string for another in filenames (in the provided folder), but I noticed it failed if the strings include "!". I try not to use any special characters in my filenames, but the exclamation marks are not all that rare. The important bits: (I can pas...