| Next: unrecoverable error 5302: conventional memory exh.. |
| Author |
Message |
jd1 External

Since: May 18, 2004 Posts: 47
|
Posted: Sat Mar 04, 2006 1:07 pm Post subject: how to append to a filename? Archived from groups: microsoft>public>win95>msdosapps (more info?) |
|
|
|
| i have many filename.txt that I want to change to filename123.txt
is this possible with a command?
thank you in advance.
|
|
|
| Back to top |
|
 |
Jeff Richards External

Since: Mar 14, 2004 Posts: 1333
|
Posted: Tue Mar 07, 2006 8:08 pm Post subject: Re: how to append to a filename? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Search on terms like download free windows utility file rename and I'm sure
you'll find lots of possibilities.
--
Jeff Richards
MS MVP (Windows - Shell/User)
"jd" <jdumont@@novuscom.net> wrote in message
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.
>
> |
|
| Back to top |
|
 |
Ricardo Lachi External

Since: Mar 14, 2006 Posts: 1
|
Posted: Tue Mar 14, 2006 10:25 am Post subject: Re: how to append to a filename? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
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.
>
> |
|
| Back to top |
|
 |
Jeff Richards External

Since: Mar 14, 2004 Posts: 1333
|
Posted: Thu Mar 16, 2006 7:10 pm Post subject: Re: how to append to a filename? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
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 RemoveThis @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.
>>
>>
>
> |
|
| Back to top |
|
 |
Mark Dormer External

Since: Mar 22, 2004 Posts: 19
|
Posted: Sat Mar 18, 2006 1:23 am Post subject: Re: how to append to a filename? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
ren *.txt *123.txt
Regards
Mark Dormer
"Jeff Richards" <JRichards DeleteThis @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 DeleteThis @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.
>>>
>>>
>>
>>
>
> |
|
| Back to top |
|
 |
Mark Dormer External

Since: Mar 22, 2004 Posts: 19
|
Posted: Sat Mar 18, 2006 1:33 am Post subject: Re: how to append to a filename? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
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.DeleteThis@mvpsx.org> wrote in message
news:uxzcb5cSGHA.4956@TK2MSFTNGP09.phx.gbl...
> ren *.txt *123.txt
>
> Regards
> Mark Dormer
>
> "Jeff Richards" <JRichards.DeleteThis@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.DeleteThis@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.
>>>>
>>>>
>>>
>>>
>>
>>
>
> |
|
| Back to top |
|
 |
|