Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > MSDOS Programmer > Rename DOS File
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 11 Topic 471 of 494
Post > Topic >>

Rename DOS File

by brettmanning24@[EMAIL PROTECTED] Oct 31, 2007 at 10:20 AM

Hello,

Is it possible to use the rename command to rename a *.ITF file with
the filename of a TXT file in the same directory.  For example
Directory 1 contains:


DEAL1.ITF
BRETT.TXT
DEAL1.LOG


Is it possible to rename DEAL1.LOG to BRETT.LOG (the same name of the
TXT file).  The TXT file will be a different name each time,
therefore
it needs to be some kind of variable rename i.e. always rename
the .LOG file to that of the .TXT filename.


Thanks,


Brett




 11 Posts in Topic:
Rename DOS File
brettmanning24@[EMAIL PRO  2007-10-31 10:20:27 
Re: Rename DOS File
Herbert Kleebauer <kle  2007-10-31 19:09:02 
Re: Rename DOS File
brettmanning24@[EMAIL PRO  2007-10-31 11:20:59 
Re: Rename DOS File
Herbert Kleebauer <kle  2007-10-31 19:47:12 
Re: Rename DOS File
ppnerkDELETETHIS@[EMAIL P  2007-11-01 09:53:48 
Re: Rename DOS File
foxidrive <gotcha@[EMA  2007-11-01 21:56:49 
Re: Rename DOS File
ppnerkDELETETHIS@[EMAIL P  2007-11-01 13:38:30 
Re: Rename DOS File
foxidrive <gotcha@[EMA  2007-11-02 02:02:00 
Re: Rename DOS File
ak621@[EMAIL PROTECTED]   2007-11-01 14:45:25 
Re: Rename DOS File
"Jim Langston"   2007-11-05 23:08:41 
Re: Rename DOS File
foxidrive <gotcha@[EMA  2007-11-06 18:54:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 0:23:42 CDT 2008.