View Single Post
  #1  
Old 10-21-2005, 04:26 PM
shaneras shaneras is online now
Registered User
 
Join Date: 10-22-2003
Posts: 3
Find and Replace in file

Hi,

I am trying to find the CLASSID in one .htm file and take than and inject into the CLASSID of another .htm file.

Example

Input file: ..\cb\res\cab\cbTunnelClientInstall_installing.htm

Output file: ..\cb\res\htm\cb_tray_installer.htm

I am trying to take this section of a line:

CLASSID='clsid:369FE6EB-69DB-417D-834B-278038CF1106'

out of cbTunnelClientInstall_installing.htm (the ID changes every time I install) and replace the number the cb_tray_installer.htm:

CLASSID='clsid:96528C60-A8B2-4212-B591-50EFF1252F6E'

I have searched around the forums but so far I have not found an example that works. Thanks for any help in advance!

Shane

P.S.
When I upgrade to 6.0 (using 5.6) will I need a new license? Want to upgrade so I can use Ant scripts but am concerned about downtime.
Reply With Quote