+ Post New Thread
Results 1 to 4 of 4
Windows Thread, Comparing ini files across multiple folders. in Technical; I wanted to gather some information on which PC's have SIMS.net installed around the school in anticipation of replacing our ...
  1. #1
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,351
    Thank Post
    85
    Thanked 47 Times in 33 Posts
    Rep Power
    31

    Comparing ini files across multiple folders.

    I wanted to gather some information on which PC's have SIMS.net installed around the school in anticipation of replacing our sims server.

    I put this in the staff logon script:

    if exist "C:\Windows\sims.ini" mkdir \\servername\sharename\pcaudit\sims\%computername%
    if exist "C:\Windows\sims.ini" copy "C:\Windows\sims.ini" \\servername\sharename\pcaudit\sims\%computername% \sims.ini"
    if exist "C:\Program Files (x86)\SIMS\SIMS .net\connect.ini" copy "C:\Program Files (x86)\SIMS\SIMS .net\connect.ini" "\\servername\sharename\pcaudit\sims\%computername %\connect.ini"
    if exist "C:\Program Files\SIMS\SIMS .net\connect.ini" copy "C:\Program Files\SIMS\SIMS .net\connect.ini" "\\servername\sharename\pcaudit\sims\%computername %\connect.ini"

    I now have many subfolders under the \sims folder named as the various computers with sims on and in each folder are two files.

    Is there a non-manual way to compare these ini files ?

    Thanks.

  2. #2
    Quackers's Avatar
    Join Date
    Jan 2006
    Posts
    1,432
    Thank Post
    45
    Thanked 156 Times in 131 Posts
    Rep Power
    56
    Ignore.

  3. #3
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,351
    Thank Post
    85
    Thanked 47 Times in 33 Posts
    Rep Power
    31
    Anyone ?

  4. #4

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,762
    Thank Post
    354
    Thanked 533 Times in 498 Posts
    Rep Power
    182
    Depends what you actually want to compare. If it's just size vs size etc (which should show changes in settings, unless it's really small changes) you could just do a script to file compare.

    If it's line for line etc there are some programs that will do this like WinMerge

    Steve



SHARE:
+ Post New Thread

Similar Threads

  1. [SIMS] SIMS.net and multiple connect.ini files
    By NortyUK in forum MIS Systems
    Replies: 23
    Last Post: 9th September 2011, 01:05 PM
  2. File Screen Exception Over Multiple Folders
    By Mr.Ben in forum Windows Server 2008 R2
    Replies: 0
    Last Post: 16th December 2010, 12:06 PM
  3. Replies: 2
    Last Post: 17th October 2009, 04:55 PM
  4. Copy file across variable folder name
    By SimpleSi in forum *nix
    Replies: 11
    Last Post: 10th March 2009, 07:15 PM
  5. Search replace across multiple XML files
    By ajbritton in forum Windows
    Replies: 6
    Last Post: 7th April 2008, 12:07 AM

Thread Information

Users Browsing this Thread

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

Posting Permissions

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