A Windows 98 & ME forum. Win98banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Win98banter forum » Windows 98 » General
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

Rename *.ITF with filename of TXT file



 
 
Thread Tools Display Modes
  #1  
Old October 31st 07, 05:16 PM posted to microsoft.public.win98.gen_discussion
[email protected]
External Usenet User
 
Posts: 2
Default Rename *.ITF with filename of TXT file

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

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rename *.ITF with filename of TXT file [email protected] General 1 October 31st 07 08:13 PM
Can't rename or delete a file - File system error (1026) thomas Improving Performance 14 September 17th 05 06:53 AM
unable to delete or rename file brown1392 General 2 October 22nd 04 03:25 AM
Rename A File max General 4 September 3rd 04 06:42 PM
deleting a file with an invalid filename ???? Fun General 10 June 7th 04 08:15 PM


All times are GMT +1. The time now is 07:02 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Win98banter.
The comments are property of their posters.