Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need a Script to Delete Information in a Text File 1

Status
Not open for further replies.

mark5830

Technical User
Dec 13, 2005
39
US
My text file has numerous lines formatted like the below data:

04/04/08 01:00:46 Data Received:1103 0026 7 8 07841480403
04/04/08 02:49:18 Data Received:1105 0055 7 8 07876241609

I need a script that would remove the date time and Data Received: portion of each line of the file then save the file. I will also need this process to be ran every 20 minutes and saved with the same file name everytime.
 
First, you refer to a script. That would imply that you want a VBScript solution. This is a VB 5 & 6 forum. Then VBScript forum is here forum329.

Next, most people here will be happy to help you write your own solution but not generally create that solution for you.

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top