Results 1 to 2 of 2

Thread: How do I add a script to all files at once?

  1. #1
    Join Date
    Mar 2011
    Location
    Los Angeles, CA
    Posts
    31

    How do I add a script to all files at once?

    I'm using DreamWeaver 8, and I need to add a Javascript to the header of all my HTML files (300+) ... Can Dreamweaver accomplish this for me? Or are there any other text editors that can?

  2. #2
    Join Date
    May 2011
    Posts
    19
    Are all the files in one folder (or in subfolders of one folder)? If so, this is a simple job for GREP or any of the numerous GREP-like utilities. The bad news is that you'll need to learn about "regular expressions" to use GREP or its cousins. Ask Google.

Similar Threads

  1. Trying to get files in subdirectories to pick up files in root using require() or inc
    By stalemath in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 10 Mar 2011, 11:00 PM
  2. How to add fields to register script?
    By janno123 in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 16 Aug 2010, 04:05 AM
  3. Stop Script Add-ons for Browsers
    By infoseeker in forum General Questions
    Replies: 1
    Last Post: 11 Apr 2008, 10:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •