Results 1 to 3 of 3

Thread: Copy/edit multiple ini files

  1. #1
    Junior Member
    Join Date
    Apr 2006
    Posts
    42

    Copy/edit multiple ini files

    Is there a way using scripting or cmd to copy an ini file to a new location and edit it internally to change certain values?

    Essentially I need to copy a base INI file for multiple users in different folders, then internally change the username in the INI file. This needs to happen multiple times and would like to automate it.

    Thoughts????

  2. #2
    Elite Member TonyT's Avatar
    Join Date
    Jan 2000
    Location
    Fairfax, VA
    Posts
    10,341
    What are you trying to do exactly and why?
    No one has any right to force data on you
    and command you to believe it or else.
    If it is not true for you, it isn't true.

    LRH

  3. #3
    Junior Member
    Join Date
    Apr 2006
    Posts
    42
    the software that is running requires each user to have an environmental variable loaded at login. It references to C:\Personal\%username%\X.ini. In the ini, certain fields need to be changed such as a folder path and username, but they are all based off of a default ini.

    What i want to do is create a batch file or script something to either read in the usernames from a txt or input them as it runs to create the folders and copy the ini editing a few lines within it.

Similar Threads

  1. hello can you help please
    By Sawala in forum Broadband Tweaks Help
    Replies: 19
    Last Post: 12-14-08, 11:38 AM
  2. questions about TCP optimizer
    By Brave_heart in forum General Broadband Forum
    Replies: 44
    Last Post: 04-29-08, 04:53 PM
  3. Need Help
    By Samuel4u in forum Network Security
    Replies: 7
    Last Post: 04-23-08, 06:42 PM
  4. Frames
    By Rivas in forum Distributed Computing
    Replies: 17
    Last Post: 06-16-07, 02:28 PM
  5. I've been hijacked
    By Think in forum Network Security
    Replies: 3
    Last Post: 01-15-07, 08:28 PM

Bookmarks

Posting Permissions

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