Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-18-2004, 10:43 AM
SpartanHokie SpartanHokie is online now
Registered User
 
Join Date: 07-28-2004
Posts: 19
Question Replace in Files (looping possible?)

I have a bunch of files that I want to do a search and replace on, but I don't explicitly know what files they are. They are defined by a specific extension. Is it possible to do a replace in files based on a folder and a given extension? Or at a minimum, could I do a replace in a VBScript method? I could go and get the file names from there and call a replace in file step for each filename I find. Thanks in advance!
Reply With Quote
  #2  
Old 12-18-2004, 11:19 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
Use the Process Files action, with a Replace in File action as a child of it, using %PROCFILES_FULLPATH% in the Filename field. See the Recurse.bld sample and http://www.visualbuild.com/Manual/?p...ilesaction.htm for more details.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 01:36 PM.


Copyright © 1999-2023 Kinook Software, Inc.