Actually the * wildcard gives the wrong result
Use the ? (single character wildcard), one for each character in the
filename, then append the extra characters.
eg.
ren ??????.txt ??????123.txt
Regards
Mark Dormer
"Mark Dormer" <markd.TakeThisOut@mvpsx.org> wrote in message
news:uxzcb5cSGHA.4956@TK2MSFTNGP09.phx.gbl...
> ren *.txt *123.txt
>
> Regards
> Mark Dormer
>
> "Jeff Richards" <JRichards.TakeThisOut@msn.com.au> wrote in message
> news:%23e1LuPNSGHA.4900@TK2MSFTNGP09.phx.gbl...
>> The DOS external command APPEND does something entirely different. It is
>> used for managing paths.
>>
>> The syntax you have listed is actually from the COPY command and will
>> concatenate files, which is not what OP was trying to do.
>> --
>> Jeff Richards
>> MS MVP (Windows - Shell/User)
>> "Ricardo Lachi" <ricardo_lachi.TakeThisOut@yahoo.com.br> wrote in message
>> news:O79$JU3RGHA.1572@tk2msftngp13.phx.gbl...
>>> look for DOS program "append". This program does exactly what you want.
>>>
>>> append filename.txt+filename1.txt+...+ filename123.txt
>>>
>>> "jd" <jdumont@@novuscom.net> escreveu na mensagem
>>> news:uZWHl$8PGHA.720@TK2MSFTNGP14.phx.gbl...
>>>> i have many filename.txt that I want to change to filename123.txt
>>>> is this possible with a command?
>>>> thank you in advance.
>>>>
>>>>
>>>
>>>
>>
>>
>
> >> Stay informed about: how to append to a filename?