WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

how to append to a filename?

 
   Home -> Windows Other -> MS DOS Apps RSS
Next:  unrecoverable error 5302: conventional memory exh..  
Author Message
jd1

External


Since: May 18, 2004
Posts: 71



(Msg. 1) 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
Login to vote
Jeff Richards

External


Since: Mar 14, 2004
Posts: 2440



(Msg. 2) 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
Login to vote
Ricardo Lachi

External


Since: Mar 14, 2006
Posts: 1



(Msg. 3) 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
Login to vote
Jeff Richards

External


Since: Mar 14, 2004
Posts: 2440



(Msg. 4) 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 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
Login to vote
Mark Dormer

External


Since: Mar 22, 2004
Posts: 32



(Msg. 5) 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 RemoveThis @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 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
Login to vote
Mark Dormer

External


Since: Mar 22, 2004
Posts: 32



(Msg. 6) 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
Login to vote
Display posts from previous:   
       Home -> Windows Other -> MS DOS Apps All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
  Windows Other
 Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET