Windows Help 4 Teh Nublet!

DragonMechDragonMech Join Date: 2003-09-19 Member: 21023Members, Constellation, Reinforced - Shadow
<div class="IPBDescription">Sychronizing Files</div> I have a problem with my NS config files - namely, the problem is that I have 3 copies of each (a set for beta 5, a set for beta 6 (constie FTW!), and a backup in my My Dcuments in case of an admin messing with my settings) and keeping them all up to date is a hassle. Is is possible for me to synch them up so that if I change one file, I change the other two as well?

Obligatory nerd smilie: <!--emo&::nerdy::--><img src='http://www.unknownworlds.com/forums/html/emoticons/nerd-fix.gif' border='0' style='vertical-align:middle' alt='nerd-fix.gif' /><!--endemo-->

Comments

  • MrRadicalEdMrRadicalEd Turrent Master Join Date: 2004-08-13 Member: 30601Members
    edited February 2005
    nope not automatically..unless you know some Pascal or Delphi


    but what you could do is keep a separate cfg file that has the static commands and then keep separate cfg files that have the unique commands stored so all you do is combine the cfg files that you need..
  • JimmehJimmeh Join Date: 2003-08-24 Member: 20173Members, Constellation
    You could just make a .bat file, so that once you've edited the original, you run the .bat file and it copys the original into the other two places that you need it.

    It would be faster, but still not automatic.
  • ThansalThansal The New Scum Join Date: 2002-08-22 Member: 1215Members, Constellation
    use linux and make them pointers?


    hmm, there SHOULD be away to do it in windows, but I don't think there is...

    unless a shortcut works the same way (doubt it though)
  • SandstormSandstorm Join Date: 2003-09-25 Member: 21205Members
    Having different file entries point to the same data is considered an error in Windows. It technically works, but any disk repair utility would "fix" it.
  • DragonMechDragonMech Join Date: 2003-09-19 Member: 21023Members, Constellation, Reinforced - Shadow
    I guess this means .bat-ters up.
  • im_lostim_lost TWG Rule Guru Join Date: 2003-04-26 Member: 15861Members
    edited February 2005
    If you synch them up like that, and an admin messes with your settings, won't that destroy the backup copy too? I realize making a .bat file doesn't have this problem, I'm just referring to your original idea.
  • DOOManiacDOOManiac Worst. Critic. Ever. Join Date: 2002-04-17 Member: 462Members, NS1 Playtester
    <!--QuoteBegin-Thansal+Feb 22 2005, 11:34 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Thansal @ Feb 22 2005, 11:34 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> use linux and make them pointers?


    hmm, there SHOULD be away to do it in windows, but I don't think there is...

    unless a shortcut works the same way (doubt it though) <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Actually, I did hear awhile back about somebody finding a way to do links on Windows NTFS...
  • Marik_SteeleMarik_Steele To rule in hell... Join Date: 2002-11-20 Member: 9466Members
    <!--QuoteBegin-DOOManiac+Feb 22 2005, 05:37 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (DOOManiac @ Feb 22 2005, 05:37 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin-Thansal+Feb 22 2005, 11:34 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Thansal @ Feb 22 2005, 11:34 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> use linux and make them pointers?


    hmm, there SHOULD be away to do it in windows, but I don't think there is...

    unless a shortcut works the same way (doubt it though) <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    Actually, I did hear awhile back about somebody finding a way to do links on Windows NTFS... <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Yes, it is possible. The easiest way to do it is with a 3rd party tool like Hard Link Magic, though finding a site to download HLM from may be difficult; I can't find the original author's site in the first page worth of google results.
  • GiGaBiTeGiGaBiTe Join Date: 2003-10-07 Member: 21489Members
    you could make a batch file to copy files that you specify that you want to be updated, then make a shortcut to ns on your desktop and make it run ns and run the batch file at the same time. then it would update every time you launched ns.
  • BeowulfGrendelBeowulfGrendel Join Date: 2003-02-20 Member: 13775Members, Constellation
    edited February 2005
    <!--QuoteBegin-Marik Steele+Feb 22 2005, 11:26 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Marik Steele @ Feb 22 2005, 11:26 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin-DOOManiac+Feb 22 2005, 05:37 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (DOOManiac @ Feb 22 2005, 05:37 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin-Thansal+Feb 22 2005, 11:34 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Thansal @ Feb 22 2005, 11:34 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> use linux and make them pointers?


    hmm, there SHOULD be away to do it in windows, but I don't think there is...

    unless a shortcut works the same way (doubt it though) <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    Actually, I did hear awhile back about somebody finding a way to do links on Windows NTFS... <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    Yes, it is possible. The easiest way to do it is with a 3rd party tool like Hard Link Magic, though finding a site to download HLM from may be difficult; I can't find the original author's site in the first page worth of google results. <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    <a href='http://www.pearlmagik.com/winbolic/' target='_blank'>http://www.pearlmagik.com/winbolic/</a>
    <a href='http://www.sysinternals.com/ntw2k/source/misc.shtml#junction' target='_blank'>http://www.sysinternals.com/ntw2k/source/misc.shtml#junction</a>

    Not the same tool, but should do the same thing (NTFS Junctions)

    EDIT - hmm, not sure that they will do individual files, maybe folders only
  • RobertoRoberto Join Date: 2003-03-16 Member: 14591Members, Constellation
    make your config read only
  • brute_forcebrute_force Join Date: 2003-10-04 Member: 21433Members, Constellation
    Why not have your cfg like this:

    exec myconfig.cfg

    And then in myconfig.cfg, whatever you want;

    bind "mouse1" "say NUBBLAR!"

    I think that'd work.
  • ThansalThansal The New Scum Join Date: 2002-08-22 Member: 1215Members, Constellation
    see, what no one seems to be getting is that he wants any changes in his config that hey makes INGAME to automaticly end up in the other 2 configs.

    a .bat might work, but you would have to set it up to copy over the newest version.

    and putting stuff in a second config wouldn't work as he can't change that on the fly.

    Those 3rd party programs look nice though.
  • MonsieurEvilMonsieurEvil Join Date: 2002-01-22 Member: 4Members, Retired Developer, NS1 Playtester, Contributor
    <!--QuoteBegin-BeowulfGrendel+Feb 23 2005, 08:52 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (BeowulfGrendel @ Feb 23 2005, 08:52 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin-Marik Steele+Feb 22 2005, 11:26 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Marik Steele @ Feb 22 2005, 11:26 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin-DOOManiac+Feb 22 2005, 05:37 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (DOOManiac @ Feb 22 2005, 05:37 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin-Thansal+Feb 22 2005, 11:34 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Thansal @ Feb 22 2005, 11:34 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> use linux and make them pointers?


    hmm, there SHOULD be away to do it in windows, but I don't think there is...

    unless a shortcut works the same way (doubt it though) <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    Actually, I did hear awhile back about somebody finding a way to do links on Windows NTFS... <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    Yes, it is possible. The easiest way to do it is with a 3rd party tool like Hard Link Magic, though finding a site to download HLM from may be difficult; I can't find the original author's site in the first page worth of google results. <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    <a href='http://www.pearlmagik.com/winbolic/' target='_blank'>http://www.pearlmagik.com/winbolic/</a>
    <a href='http://www.sysinternals.com/ntw2k/source/misc.shtml#junction' target='_blank'>http://www.sysinternals.com/ntw2k/source/misc.shtml#junction</a>

    Not the same tool, but should do the same thing (NTFS Junctions)

    EDIT - hmm, not sure that they will do individual files, maybe folders only <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Junctions (i.e. reparse points) are for folders only. You can use FSUTIL or LINKD to create, modify, and delete those.

    NTFS does not naturally do what you're looking to do on XP. In 2003 (and Longhorn), you can run 'volume shadow copies' on your disks that would automatically keep copies of changed data in a restore checkpoint area. And WinFS will have some pointer-like abilities as well for those that want it. But currently you need to buy or create something that will monitor a folder for changes and make copies of it appropriately.
  • DragonMechDragonMech Join Date: 2003-09-19 Member: 21023Members, Constellation, Reinforced - Shadow
    <!--QuoteBegin-Thansal+Feb 23 2005, 08:41 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Thansal @ Feb 23 2005, 08:41 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> see, what no one seems to be getting is that he wants any changes in his config that hey makes INGAME to automaticly end up in the other 2 configs. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    No - that's not neccesary. Just something that would let me keep all copies of the file the same; a .bat icon on my desktop would work fine. I'm still working on making the .bat file though (I haven't had a lot of free time lately - I've got a boatload of english papers to write).

    Does anyone know a site with some basic .bat file commands and such? I've never written a .bat file, and really don't know how they work.
  • brute_forcebrute_force Join Date: 2003-10-04 Member: 21433Members, Constellation
    edited February 2005
    <!--QuoteBegin-DragonMech+Feb 26 2005, 07:04 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (DragonMech @ Feb 26 2005, 07:04 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Does anyone know a site with some basic .bat file commands and such? I've never written a .bat file, and really don't know how they work. <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    Batch files are really just DOS-like commands in an order... Example:
    copy /y "c:\lala\whateverfile.cfg" "c:\stuff"
    echo on
    echo "copied whateverfile.cfg to c:\stuff"

    And so on.
  • BeowulfGrendelBeowulfGrendel Join Date: 2003-02-20 Member: 13775Members, Constellation
    <overkill>CVS? <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink-fix.gif' border='0' style='vertical-align:middle' alt='wink-fix.gif' /><!--endemo--> </overkill>
Sign In or Register to comment.