Advertisement

05.29.2008 at 02:29PM PDT, ID: 23443038
[x]
Attachment Details

Find and Replace TEXT/String in 1000s of .pad files (text files really).

Asked by super786 in VB Script, Miscellaneous Programming

Tags: VB Script, Batch

I have over 1500+ ".pad" files. This are really just txt files. Now in each of these files, there is a string, like the following:

setDate="2007-01-18"

I want a script that scans through all these thousands of files and looks for the string setDate= and changes the date right after it to 2015-06-30.

So basically in ALL the files, setDate="YYYY-MM-DD" becomes setDate="2015-06-30"

All dates must change to 2015-06-30.

Thanks.Start Free Trial
[+][-]05.29.2008 at 02:53PM PDT, ID: 21673634

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: VB Script, Miscellaneous Programming
Tags: VB Script, Batch
Sign Up Now!
Solution Provided By: TRobinJames
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628