Activity Stream
48,167 MEMBERS
61012 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1.     
    #1
    Member
    Website's:
    te-en.com besteens.org vintagecolic.com transcolic.com gaycolic.com amateurcolic.com

    Default Changing A Word in More Than 10 Txt Files at Same Time

    Hi,

    I need a script or a way to change a word in more than 10 txt files at same time. Forexample :

    I have 120 different txt files in a folder. And there is "TEST1" word in all txt files. And I want to change "TEST1" word to "TEST2". I want to do this in all txt files at same times.

    Is there any way or any script to do that?

    Thanx for now...
    astalavistia Reviewed by astalavistia on . Changing A Word in More Than 10 Txt Files at Same Time Hi, I need a script or a way to change a word in more than 10 txt files at same time. Forexample : I have 120 different txt files in a folder. And there is "TEST1" word in all txt files. And I want to change "TEST1" word to "TEST2". I want to do this in all txt files at same times. Is there any way or any script to do that? Thanx for now... Rating: 5

  2.   Sponsored Links

  3.     
    #2
    ლ(ಠ益ಠლ)
    Website's:
    extremecoderz.com
    in which language?

  4.     
    #3
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    Quote Originally Posted by astalavistia View Post
    Hi,

    I need a script or a way to change a word in more than 10 txt files at same time. Forexample :

    I have 120 different txt files in a folder. And there is "TEST1" word in all txt files. And I want to change "TEST1" word to "TEST2". I want to do this in all txt files at same times.

    Is there any way or any script to do that?

    Thanx for now...
    Paid or Free??

  5.     
    #4
    Member
    Website's:
    te-en.com besteens.org vintagecolic.com transcolic.com gaycolic.com amateurcolic.com
    Quote Originally Posted by jayfella View Post
    in which language?
    It doesnt matter


    Quote Originally Posted by soft2050 View Post
    Paid or Free??
    If there is not a free way to do this I can pay.

  6.     
    #5
    Member
    you can do it easily in notepad++, simply open all text files and replace the word and apply to all open documents

  7.     
    #6
    Member
    Website's:
    te-en.com besteens.org vintagecolic.com transcolic.com gaycolic.com amateurcolic.com
    Thanx devilboy23

    It s worked. Thanx you very much...

  8.     
    #7
    Member
    Website's:
    premium-links.net wanted-programs.com
    is text file size bigger then 1 MB?

  9.     
    #8
    Respected Developer
    Website's:
    wrzc.org
    If it's a once off thing then as said above just install notepad open the file and do a CTRL + F (which is find) and click on the Replace tab. enter what you want to change it to and then click Replace All.


    Otherwise if they are files on your server you can do something like the following in php
    • open the folder
    • put all files in the folder into an array
    • start a loop for each of the files found
    • open each of the files in the loop
    • using str_replace("TEST1", "TEST2", $content) to change text
    • close loop
    We need more info. Are the files on your computer or your server and is this a once off thing or do you need it don regularly.

    EDIT: NM problem is solved with first suggestion
    Tutorial How to SEO your Warez Site a guide to help you increase your organic traffic

    Huge list of Warez Sites and free Multiposter Templates

  10.     
    #9
    Member
    Website's:
    te-en.com besteens.org vintagecolic.com transcolic.com gaycolic.com amateurcolic.com
    Thanx Mr Happy

    My files are in my PC. And I m not proffessional to do these

    Thanx you everyone..

  11.     
    #10
    Member
    Search and replace program is freeware you can do that very fast

    or textcrawler

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Changing MD5 on video files
    By Ruriko in forum Technical Help Desk Support
    Replies: 2
    Last Post: 6th Dec 2011, 11:55 PM
  2. My files like sexy time
    By Dean2k in forum General Discussion
    Replies: 10
    Last Post: 9th Sep 2011, 10:27 PM
  3. Changing system time
    By Spooky in forum vBulletin
    Replies: 6
    Last Post: 1st Sep 2011, 02:22 PM
  4. MS Word Files Help
    By Devils in forum General Discussion
    Replies: 0
    Last Post: 6th Mar 2011, 04:22 PM
  5. Changing MD5 on multiple files on my computer
    By rosinant in forum Technical Help Desk Support
    Replies: 1
    Last Post: 1st Dec 2010, 09:27 PM

Tags for this Thread

BE SOCIAL