Z
Z
zeni1agent2020-09-25 18:52:02
cmd/bat
zeni1agent, 2020-09-25 18:52:02

How to add a symbol to each file in a folder?

I want to quickly add a few characters to the file name at the very beginning, but I can't seem to get it, how can I do it?
ren ** red_*

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
wisgest, 2020-09-25
@zeni1agent

You can use a loop through files
for %I in (*) do ren "%I" "red_%I"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question