+ 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,285
    Thank Post
    80
    Thanked 45 Times in 31 Posts
    Rep Power
    30

    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,304
    Thank Post
    40
    Thanked 140 Times in 115 Posts
    Rep Power
    53
    Ignore.

  3. #3
    kennysarmy's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    1,285
    Thank Post
    80
    Thanked 45 Times in 31 Posts
    Rep Power
    30
    Anyone ?

  4. #4

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,686
    Thank Post
    333
    Thanked 513 Times in 481 Posts
    Rep Power
    178
    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, 12: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, 11:06 AM
  3. Replies: 2
    Last Post: 17th October 2009, 03:55 PM
  4. Copy file across variable folder name
    By SimpleSi in forum *nix
    Replies: 11
    Last Post: 10th March 2009, 06:15 PM
  5. Search replace across multiple XML files
    By ajbritton in forum Windows
    Replies: 6
    Last Post: 6th April 2008, 11:07 PM

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
  •