All Questions
3
questions
1
vote
1
answer
305
views
Batch rename file names, retain ext?
(Win10) In a batch file, how do I recursively rename filesnames in a folder? Not the extension.
e.g.
Files to rename: heavy.doc, bright.jpg, fast.docx, quiet.png, etc
Rename to: A1.*, A2.*, A3.*, ...
0
votes
1
answer
389
views
Recursively delete files of a certain extension - File name is too long (Win Server 2012)
A while back, I created .hash files for all files in a given folder structure for verification purposes. I no longer need them and they are minor annoyance/cause for alarm. I am trying to ...
20
votes
4
answers
57k
views
Get bare file names recursively in command prompt
I ran into a little snag trying to get only the filenames (no extensions or file paths) recursively.This worked for me in the root folder:
dir /b
But when i added /s to scan recursively i also got ...